skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API Functions API Functions
go to previous page: CL_CertGetFirstFieldValue CL_CertGetFirstFieldValue
go to next page: CL_CertGetNextCachedFieldValueCL_CertGetNextCachedFieldValue
end of book navigation links


CL_CertGetKeyInfo
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CL_CertGetKeyInfo: CSSM_CL_CertGetKeyInfo - Return the public key and integral information (CDSA)

SYNOPSIS  

# include <cssm.h>

API:
CSSM_RETURN CSSMAPI CSSM_CL_CertGetKeyInfo
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_KEY_PTR *Key)
SPI: 
CSSM_RETURN CSSMCLI CL_CertGetKeyInfo
(CSSM_CL_HANDLE CLHandle,
const CSSM_DATA *Cert,
CSSM_KEY_PTR *Key)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

CLHandle (input)
 The handle that describes the add-in certificate library module used to perform this function.
Cert (input) A pointer to the CSSM_DATA structure containing the certificate from which to extract the public key information.
Key (output) A pointer to the CSSM_KEY structure containing the public key and possibly other key information. The CSSM_KEY structure and its substructures are allocated by the service provider and must be deallocated by the application.


return to top DESCRIPTION  

This function returns the public key and integral information about the key from the specified certificate. The key structure returned is a compound object. It can be used in any function requiring a key, such as creating a cryptographic context.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.
CSSMERR_CL_INVALID_CERT_POINTER
CSSMERR_CL_UNKNOWN_FORMAT


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions for the CSSM API:

CSSM_CL_CertGetFirstFieldValue, CSSM_CL_FreeFieldValue

Functions for the CLI SPI:

CL_CertGetFirstFieldValue, CL_FreeFieldValue


go to previous page: CL_CertGetFirstFieldValue CL_CertGetFirstFieldValue
go to next page: CL_CertGetNextCachedFieldValueCL_CertGetNextCachedFieldValue