Implementation for ASN.1 Decoder for Distinguished Encoding Rules DER.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
#include "asn1.h"
Functions | |
TLS_API uint16 | ASN1_GetNextElement (tstrAsn1Context *pstrAsn1Ctxt, tstrAsn1Element *pstrElement) |
TLS_API uint16 | ASN1_Read (tstrAsn1Context *pstrAsn1Cxt, uint32 u32ReadLength, uint8 *pu8ReadBuffer) |
TLS_API uint16 ASN1_GetNextElement | ( | tstrAsn1Context * | pstrAsn1Ctxt, |
tstrAsn1Element * | pstrElement | ||
) |
References ASN1_NULL, BIT7, NULL, tstrAsn1Context::pstrTlsBuffer, TLS_BufferRead(), tstrAsn1Element::u32Length, and tstrAsn1Element::u8Tag.
Referenced by Cert_DecodeAlgID(), Cert_DecodeDistinguishedName(), Cert_DecodeECCPubKey(), Cert_DecodeRSAPubKey(), Cert_DecodeSignature(), Cert_DecodeSubjectPubKey(), Cert_DecodeTBSCertificate(), Cert_DecodeValidity(), Cert_DecodeX520Name(), ParsePrivKey(), ParseRsaPrivKey(), X509_DecodeEcdsaSignature(), and X509Cert_Decode().
TLS_API uint16 ASN1_Read | ( | tstrAsn1Context * | pstrAsn1Cxt, |
uint32 | u32ReadLength, | ||
uint8 * | pu8ReadBuffer | ||
) |
References NULL, tstrAsn1Context::pstrTlsBuffer, and TLS_BufferRead().
Referenced by Cert_DecodeAlgID(), Cert_DecodeDistinguishedName(), Cert_DecodeECCPubKey(), Cert_DecodeRSAPubKey(), Cert_DecodeSignature(), Cert_DecodeTBSCertificate(), Cert_DecodeValidity(), ParsePrivKey(), ParseRsaPrivKey(), and X509_DecodeEcdsaSignature().