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

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

TP_CrlCreateTemplate(3)

Contents


NAME    [Toc]    [Back]

       TP_CrlCreateTemplate,  CSSM_TP_CrlCreateTemplate  - Create
       an unsigned memory-resident CRL template (CDSA)

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

       API:   CSSM_RETURN    CSSMAPI    CSSM_TP_CrlCreateTemplate
       (CSSM_TP_HANDLE  TPHandle, CSSM_CL_HANDLE CLHandle, uint32
       NumberOfFields, const CSSM_FIELD *CrlFields, CSSM_DATA_PTR
       NewCrlTemplate)  SPI: CSSM_RETURN CSSMTPI TP_CrlCreateTemplate
 (CSSM_TP_HANDLE TPHandle,  CSSM_CL_HANDLE  CLHandle,
       uint32   NumberOfFields,   const   CSSM_FIELD  *CrlFields,
       CSSM_DATA_PTR NewCrlTemplate)

LIBRARY    [Toc]    [Back]

       Common Security Services Manager library (libcssm.so)

PARAMETERS    [Toc]    [Back]

       The handle that describes the add-in trust  policy  module
       used  to perform this function.  The handle that describes
       the add-in certificate library module used to perform this
       function.   The number of OID/value pairs specified in the
       CrlFields input parameter.  Any array of  field  OID/value
       pairs   containing   the  values  to  initialize  the  CRL
       attribute fields A pointer to the CSSM_DATA structure containing
  the new CRL. The NewCrl->Data is allocated by the
       service provider and must be deallocated by  the  application.

DESCRIPTION    [Toc]    [Back]

       This  function  creates  an  unsigned, memory-resident CRL
       template. Fields in the CRL are initialized based  on  the
       descriptive data specified by the OID/value input pairs in
       CrlFields and the local domain policy of the TP. The specified
  OID/value  pairs  can initialize all or a subset of
       the general attribute fields in the new  CRL,  though  the
       module  developer may specify a set of fields that must be
       or cannot be set using this operation.  The NewCrlTemplate
       output is an unsigned CRL template in the format supported
       by the TP.

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_TP_INVALID_CL_HANDLE     CSSMERR_TP_INVALID_FIELD_POINTER
 CSSMERR_TP_UNKNOWN_TAG  CSSMERR_TP_INVALID_NUMBER_OF_FIELDS










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_TP_CrlSignWithKey(3), CSSM_TP_CrlSignWithCert(3)

       Functions for the TP SPI:

       TP_CrlSignWithKey(3), TP_CrlSignWithCert(3)



                                          TP_CrlCreateTemplate(3)
[ Back ]
 Similar pages
Name OS Title
mkboot OpenBSD create LIF files
vm_map_submap FreeBSD create a subordinate map
VOP_LINK FreeBSD create a new name for a file
tt_onotice_create HP-UX create a notice
nismkdir HP-UX create NIS+ directories
MAKEDEV Linux create devices
BIO_new_bio_pair Tru64 Create a new BIO pair
fork IRIX create a new process
acl_create_entry Tru64 Create a new ACL entry
creat OpenBSD create a new file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service