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

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

CL_CertGroupToSignedBundle(3)

Contents


NAME    [Toc]    [Back]

       CL_CertGroupToSignedBundle,  CSSM_CL_CertGroupToSignedBundle
 - Convert a certificate group to a certificate  bundle
       (CDSA)

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

       API:  CSSM_RETURN  CSSMAPI CSSM_CL_CertGroupToSignedBundle
       (CSSM_CL_HANDLE CLHandle, CSSM_CC_HANDLE  CCHandle,  const
       CSSM_CERTGROUP  *CertGroupToBundle,  const  CSSM_CERT_BUNDLE_HEADER
 *BundleInfo, CSSM_DATA_PTR  SignedBundle)  SPI:
       CSSM_RETURN       CSSMCLI       CL_CertGroupToSignedBundle
       (CSSM_CL_HANDLE CLHandle, CSSM_CC_HANDLE  CCHandle,  const
       CSSM_CERTGROUP  *CertGroupToBundle,  const  CSSM_CERT_BUNDLE_HEADER
 *BundleInfo, CSSM_DATA_PTR SignedBundle)

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.  The handle of the
       cryptographic context to control  the  signing  operation.
       The  operation  will  fail  if a signature is required for
       this type of bundle and the cryptographic context  is  not
       valid.   An array of individual, encoded certificates. All
       certificates in this list will be included in the  resulting
  certificate  bundle.  A structure containing the type
       and encoding of the bundle to be created.  If the type and
       the encoding are not specified, then the module will use a
       default bundle type and  bundle  encoding.   The  function
       returns  a pointer to a signed certificate bundle containing
 all certificates in the certificate group. The  bundle
       is  of the type and encoding requested by the caller or is
       the default type defined by  the  library  module  if  the
       BundleInfo was not specified by the caller. The SignedBundle->Data
 is allocated by the service provider and must be
       deallocated by the application.

DESCRIPTION    [Toc]    [Back]

       This  function accepts as input a certificate group (as an
       array of individual certificates) and returns  a  certificate
 bundle (a codified and signed aggregation of the certificates
 in the group). The certificate group will  first
       be  encoded according to the BundleInfo input by the user.
       If BundleInfo is NULL, the library will perform a  default
       encoding  for  its  default  bundle type. If possible, the
       certificate group ordering will be maintained in this certificate
  aggregate encoding. After encoding, the certificate
 aggregate will be signed using the input context. The
       CL  module  embeds  knowledge of the signing scope for the
       bundle types it supports. The signature is then associated
       with  the  certificate  aggregate  according to the bundle
       type and encoding rules and is returned as a bundle to the
       calling application.





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_CONTEXT_HANDLE   CSSMERR_CL_INVALID_CERTGROUP_POINTER
                     CSSMERR_CL_INVALID_CERT_POINTER
     CSSMERR_CL_UNKNOWN_FORMAT
       CSSMERR_CL_INVALID_BUNDLE_POINTER  CSSMERR_CL_INVALID_BUNDLE_INFO


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_CertGroupFromVerifiedBundle(3)

       Functions for the CLI SPI:

       CL_CertGroupFromVerifiedBundle(3)



                                    CL_CertGroupToSignedBundle(3)
[ Back ]
 Similar pages
Name OS Title
TP_CertRevoke Tru64 Determine if the revoking certificate group can revoke the subject certificate group (CDSA)
CSSM_TP_CertRevoke Tru64 Determine if the revoking certificate group can revoke the subject certificate group (CDSA)
TP_CertRemoveFromCrlTemplate Tru64 Determine if the revoking certificate group can remove the subject certificate group from the CRL te...
CSSM_TP_CertRemoveFromCrlTemplate Tru64 Determine if the revoking certificate group can remove the subject certificate group from the CRL te...
CSSM_CL_CrlRemoveCert Tru64 Reinstate a certificate (CDSA)
CL_CertSign Tru64 Sign a certificate (CDSA)
CSSM_CL_CertSign Tru64 Sign a certificate (CDSA)
CL_CrlRemoveCert Tru64 Reinstate a certificate (CDSA)
CSSM_TP_CertReclaimKey Tru64 Get private key associated with a certificate (CDSA)
TP_CertReclaimKey Tru64 Get private key associated with a certificate (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service