*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> CL_CertGetKeyInfo (3)              
Title
Content
Arch
Section
 

CL_CertGetKeyInfo(3)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/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)

LIBRARY    [Toc]    [Back]

       Common Security Services Manager library (libcssm.so)

PARAMETERS    [Toc]    [Back]

       The handle that describes the add-in  certificate  library
       module  used  to  perform this function.  A pointer to the
       CSSM_DATA structure containing the certificate from  which
       to  extract  the public key information.  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.

DESCRIPTION    [Toc]    [Back]

       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 VALUE    [Toc]    [Back]

       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.

ERRORS    [Toc]    [Back]

       Errors  are described in the CDSA technical standard.  See
       CDSA_intro(3).     CSSMERR_CL_INVALID_CERT_POINTER    CSSMERR_CL_UNKNOWN_FORMAT


SEE ALSO    [Toc]    [Back]

      
      
       Books

       Intel    CDSA    Application    Developer's   Guide   (see
       CDSA_intro(3))

       Reference Pages    [Toc]    [Back]

       Functions for the CSSM API:

       CSSM_CL_CertGetFirstFieldValue(3),      CSSM_CL_FreeFieldValue(3)

       Functions for the CLI SPI:

       CL_CertGetFirstFieldValue(3), CL_FreeFieldValue(3)



                                             CL_CertGetKeyInfo(3)
[ Back ]
 Similar pages
Name OS Title
CSSM_CSP_ObtainPrivateKeyFromPublicKey Tru64 Convert public key to private key (CDSA)
ObtainPrivateKeyFromPublicKey Tru64 Convert public key to private key (CDSA)
CSP_ObtainPrivateKeyFromPublicKey Tru64 Convert public key to private key (CDSA)
CSSM_CL_CertGetFirstFieldValue Tru64 Return the value of the certificate field (CDSA)
CL_CertGetNextFieldValue Tru64 Return the value of a certificate field (CDSA)
CSSM_CL_CertGetNextCachedFieldValue Tru64 Return the value of a certificate field (CDSA)
CL_CertGetFirstFieldValue Tru64 Return the value of the certificate field (CDSA)
CSSM_CL_CertGetNextFieldValue Tru64 Return the value of a certificate field (CDSA)
CL_CertGetNextCachedFieldValue Tru64 Return the value of a certificate field (CDSA)
CSSM_CL_CrlDescribeFormat Tru64 Return a list of the CSSM_OID values (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service