[Previous] [Next]

ldapu_get_cert_der()

Gets the original DER encoded certificate.

Syntax
NSAPI_PUBLIC 
int ldapu_get_cert_der (void *cert,
      unsigned char **derCert, unsigned int *len);
Parameters
This function has the following parameters:
Name Description
cert
Certificate from which you want to extract the original DER data.

derCert
The original DER encoded certificate.

len
The length of the derCert argument.

Returns
Returns one of the following values:

Description
Call this function if you want to get the original DER-encoded certificate. When you are done working with this value, you should call the ldapu_free() function to free the value from memory.

See Also
ldapu_free().


[Previous] [Next]


Copyright ⌐ 1997 Netscape Communications Corporation