Common Data Security Architecture (CDSA) White Paper

 

Certificate Library Services (CL) API

Function

Encode algorithm identifier

Input

Pointer to an algorithm identifier in the format of

 

X509_ALGORITHM_IDENTIFIER

Output

Pointer to encoded algorithm identifier in the format of CSSM_DATA

INTEL_X509V3_PASSTHROUGH_DECODE_ALGID

Function

Decode algorithm identifier

Input

Pointer to encoded algorithm identifier in the format of CSSM_DATA

Output

Pointer to an algorithm identifier in the format of

 

X509_ALGORITHM_IDENTIFIER

INTEL_X509V3_PASSTHROUGH_FREE_ALGID

Function

Free the algorithm identifier structure

Input

Pointer to an algorithm identifier in the format of

 

X509_ALGORITHM_IDENTIFIER

Output

Pointer to CSSM_BOOL for success/failure

INTEL_X509V3_PASSTHROUGH_OPEN_FILE

Function

Open a file

Input

Pointer to an array, the first element contains the file name the second

 

element contains the type (r, w, rw,...etc)

Output

File pointer returned by fopen()

INTEL_X509V3_PASSTHROUGH_CLOSE_FILE

Function

Close a file

Input

File pointer

Output

Pointer to CSSM_RETURN to indicate success/failure

INTEL_X509V3_PASSTHROUGH_WRITE_CERT_TO_FILE

Function

Write certificate to a file

Input

Pointer to an array. The first elements contains file pointer. The second

 

element contains a pointer to encoded certificate in the format of

 

CSSM_DATA.

Output

Pointer to CSSM_RETURN to indicate success/failure

INTEL_X509V3_PASSTHROUGH_READ_CERT_FROM_FILE

44

Chapter 1

Page 44
Image 44
HP UX Security Products and Features Software manual INTELX509V3PASSTHROUGHREADCERTFROMFILE