Common Data Security Architecture (CDSA) White Paper

46 Chapter1
Common Data Security Architecture (CDSA) White Paper
Certificate Library Services (CL) API
Function Encode the certificate list
Input Pointer to the certificate list in the format of X509_REVOKED_CERT_LIST
Output Pointer to the encoded certificate list in the format of CSSM_DATA
INTEL_X509V3_PASSTHROUGH_DECODE_REVOKED_CERTLIST
Function Decode the certificate list
Input Pointer to the encoded certificate list in the format of CSSM_DATA
Output Pointer to the certificate list in the format of X509_REVOKED_CERT_LIST
INTEL_X509V3_PASSTHROUGH_FREE_REVOKED_CERTLIST
Function Free all memory from a CRL
Input Pointer to the revoked certificate list in the format of
X509_REVOKED_CERT_LIST
Output Pointer to CSM_BOOL for success/failure
INTEL_X509V3_PASSTHROUGH_ENCODE_REVOKED_CERT_ENTRY
Function Encode the revoked certificate list entry
Input Pointer to the revoked certificate list entry in the format of
X509_REVOKED_CERT_ENTRY
Output Pointer to the encoded revoked certificate list entry in the format of
CSSM_DATA
INTEL_X509V3_PASSTHROUGH_DECODE_REVOKED_CERT_ENTRY
Function Decode the revoked certificate list entry
Input Pointer to the encoded revoked certificate list entry in the format of
CSSM_DATA
Output Pointer to the revoked certificate list entry in the format of
X509_REVOKED_CERT_ENTRY
INTEL_X509V3_PASSTHROUGH_FREE_REVOKED_CERT_ENTRY
Function Free all memory from a revoked certificate list entry
Input Pointer to the revoked certificate list entry in the format of
X509_REVOKED_CERT_ENTRY
Output Pointer to CSSM_BOOL to indicate success/failure
INTEL_X509V3_PASSTHROUGH_FIND_SUPPORTING_CSP