It defines the following value tag classes: VTC_UNIVERSAL, VTC_APPLICATION, VTC_CONTEXT and VTC_PRIVATE. It also defines the following value tag class flags: VTC_CONSTRUCTED, VTC_SET and VTC_INDEFINITE_LEN.
Functions |
| int | C_DEREncodeTagAndValue (CERTC_CTX ctx, int tag, unsigned int tagClass, unsigned char *value, unsigned int len, unsigned int maxOutputLen, unsigned char *outputDER, unsigned int *outputLen) |
| | Encodes an encoded value's prefix, and, optionally, copies the value encoding. More...
|
| int | C_BERDecodeTagAndValue (CERTC_CTX ctx, unsigned char *inputBER, unsigned int inputLen, int *tag, unsigned int *tagClass, unsigned char **value, unsigned int *len) |
| | Decodes the ASN.1-encoded tag and length, and returns a pointer to the encoded value. More...
|
| int | C_DEREncodeNull (CERTC_CTX ctx, int tag, unsigned int tagClass, unsigned char **outputDER, unsigned int *outputLen) |
| | DER encodes an ASN.1 NULL value. More...
|
| int | C_BERDecodeNull (CERTC_CTX ctx, unsigned char *inputBER, unsigned int inputLen, int *tag, unsigned int *tagClass) |
| | Decodes a BER-encoded ASN.1 NULL value. More...
|
| int | C_DEREncodeInt (CERTC_CTX ctx, int tag, unsigned int tagClass, int value, unsigned char **outputDER, unsigned int *outputLen) |
| | DER encodes an integer. More...
|
| int | C_BERDecodeInt (CERTC_CTX ctx, unsigned char *inputBER, unsigned int inputLen, int *tag, unsigned int *tagClass, int *value) |
| | Decodes a BER-encoded integer. More...
|
| int | C_DEREncodeString (CERTC_CTX ctx, int tag, unsigned int tagClass, unsigned char *value, unsigned int len, unsigned char **outputDER, unsigned int *outputLen) |
| | DER encodes a character-string or octet-string value. More...
|
| int | C_BERDecodeString (CERTC_CTX ctx, unsigned char *inputBER, unsigned int inputLen, int *tag, unsigned int *tagClass, unsigned char **value, unsigned int *len) |
| | Decodes a BER-encoded character string or octet string. More...
|
| int | C_DEREncodeGeneralizedTime (CERTC_CTX ctx, int tag, unsigned int tagClass, GENERALIZED_TIME *value, unsigned char **outputDER, unsigned int *outputLen) |
| | DER encodes a GENERALIZED_TIME value. More...
|
| int | C_BERDecodeGeneralizedTime (CERTC_CTX ctx, unsigned char *inputBER, unsigned int inputLen, int *tag, unsigned int *tagClass, GENERALIZED_TIME *value) |
| | Decodes a BER-encoded GENERALIZED_TIME value. More...
|
| int | C_DEREncodeUTCTime (CERTC_CTX ctx, int tag, unsigned int tagClass, UINT4 value, unsigned char **outputDER, unsigned int *outputLen) |
| | DER encodes a time value using the UTC time encoding syntax. More...
|
| int | C_BERDecodeUTCTime (CERTC_CTX ctx, unsigned char *inputBER, unsigned int inputLen, int *tag, unsigned int *tagClass, UINT4 *value) |
| | Decodes a BER-encoded UTC time value and returns a value that indicates the number of seconds since 12:00 A.M. More...
|
| int | C_DEREncodeBitString (CERTC_CTX ctx, int tag, unsigned int tagClass, BIT_STRING *value, unsigned char **outputDER, unsigned int *outputLen) |
| | DER encodes a BIT_STRING value. More...
|
| int | C_DEREncodeNamedBitString (CERTC_CTX ctx, int tag, unsigned int tagClass, BIT_STRING *value, unsigned char **outputDER, unsigned int *outputLen) |
| | DER encodes a BIT_STRING value. More...
|
| int | C_BERDecodeBitString (CERTC_CTX ctx, unsigned char *inputBER, unsigned int inputLen, int *tag, unsigned int *tagClass, BIT_STRING *value) |
| | Decodes a BER-encoded BIT_STRING value. More...
|
| int | C_DEREncodeList (CERTC_CTX ctx, int tag, unsigned int tagClass, LIST_OBJ list, unsigned char **outputDER, unsigned int *outputLen) |
| | DER encodes a list of DER-encoded values, represented by a LIST_OBJ containing ITEM entries. More...
|
| int | C_BERDecodeList (CERTC_CTX ctx, unsigned char *inputBER, unsigned int inputLen, int *tag, unsigned int *tagClass, LIST_OBJ list) |
| | Decodes a BER-encoded constructed value. More...
|