Common Data Security Architecture (CDSA) White Paper

 

Certificate Library Services (CL) API

Function

Create a DER-encoded X.509 distinguished name structure

Input

Pointer to an array; the first element points to multiple entres of

 

X509_TYPE_VALUE comprising the name

Output

Pointer to the name in the format of CSSM_DATA

INTEL_X509V3_PASSTHROUGH_ENCODE_NAME

Function

Encode an issuer/subject name

Input

Pointer to an issuer/subject name in the format of X509_NAME

Output

Pointer to DER-encoded name in the format of CSSM_DATA

INTEL_X509V3_PASSTHROUGH_DECODE_NAME

Function

Decode an issuer/subject name

Input

Pointer to DER-encoded name in the format of CSSM_DATA

Output

Pointer to an issuer/subject name in the format of X509_NAME

INTEL_X509V3_PASSTHROUGH_FREE_NAME

Function

Free the X509_NAME structure

Input

Pointer to an ssuer/subject name in the format of X509_NAME

Output

A CSSM_BOOL to indicate success/failure

INTEL_X509V3_PASSTHROUGH_TRANSLATE_DERNAME_TO_STRING

Function

Concatenate the leaves of the encoded name in the order they are presented

 

in the DER-encoded blob.

Input

Pointer to an encoded name in the format of CSSM_DATA

Output

Pointer to the name in the format of CSSM_DATA

INTEL_X509V3_PASSTHROUGH_ENCODE_EXTENSION

Function

Encode the certificate extension

Input

Pointer to the extension in the format of X509_EXTENSION

Output

Pointer to the DER-encoded extension in the format of CSSM_DATA

INTEL_X509V3_PASSTHROUGH_DECODE_EXTENSION

Function

Decode the certificate extension

Input

Pointer to the DER-encoded extension in the format of CSSM_DATA

Output

Pointer to the extension in the format of X509_EXTENSION

42

Chapter 1