Common Data Security Architecture (CDSA) White Paper

Chapter 1 45
Common Data Security Architecture (CDSA) White Paper
Certificate Library Services (CL) API
Function Read certificate from a file
Input File pointer
Output Pointer to encoded certificate in the format of CSSM_DATA
INTEL_X509V3_PASSTHROUGH_ENCODE_SIGNED_CRL
Function Encode a signed CRL
Input Pointer to the signed CRL in the format of X509_SIGNED_CRL
Output Pointer to an encoded, signed CRL in the format of CSSM_DATA
INTEL_X509V3_PASSTHROUGH_DECODE_SIGNED_CRL
Function Decode a signed CRL
Input Pointer to an encoded, signed CRL in the format of CSSM_DATA
Output Pointer to the signed CRL in the format of X509_SIGNED_CRL
INTEL_X509V3_PASSTHROUGH_FREE_SIGNED_CRL
Function Free the signed CRL structure
Input Pointer to a signed CRL in the format of X509_SIGNED_CRL
Output Pointer to CSSM_BOOL for success/failure
INTEL_X509V3_PASSTHROUGH_ENCODE_TBS_CERTLIST
Function Encode an unsigned CRL
Input Pointer to an unsigned CRL in the format of X509_TBS_CERTLIST
Output Pointer to encoded, unsigned CRL in the format of CSSM_DATA
INTEL_X509V3_PASSTHROUGH_DECODE_TBS_CERTLIST
Function Decode the unsigned CRL
Input Pointer to an encoded unsigned CRL in the format of CSSM_DATA
Output Pointer to the unsigned CRL in the format of X509_TBS_CERTLIST
INTEL_X509V3_PASSTHROUGH_FREE_TBS_CERTLIST_DATA
Function Free the pointers inside the unsigned CRL
Input Pointer to an unsigned revoked certificate list in the format of
X509_TBS_CERTLIST
Output Pointer to CSSM_BOOL for success/failure
INTEL_X509V3_PASSTHROUGH_ENCODE_REVOKED_CERTLIST