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

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

FreeKey(3)

Contents


NAME    [Toc]    [Back]

       FreeKey, CSSM_FreeKey, CSP_FreeKey - Clean up keys (CDSA)

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

       API:  CSSM_RETURN  CSSMAPI  CSSM_FreeKey  (CSSM_CSP_HANDLE
       CSPHandle,  const   CSSM_ACCESS_CREDENTIALS   *AccessCred,
       CSSM_KEY_PTR  KeyPtr,  CSSM_BOOL  Delete) SPI: CSSM_RETURN
       CSSMCSPI  CSP_FreeKey  (CSSM_CSP_HANDLE  CSPHandle,  const
       CSSM_ACCESS_CREDENTIALS  *AccessCred, CSSM_KEY_PTR KeyPtr,
       CSSM_BOOL Delete)

LIBRARY    [Toc]    [Back]

       Common Security Services Manager library (libcssm.so)

PARAMETERS    [Toc]    [Back]

       The handle that describes the module to perform this operation.
   If  the  target  key referenced by KeyPtr is protected
 and Delete has the value CSSM_TRUE, this  parameter
       must  contain  the  certificates  and  samples required to
       access the target key. The certificates must be  presented
       as  immediate  values  in the input structure. The samples
       can be immediate values, be obtained through  a  protected
       mechanism,  or  be  obtained  through a callback function.
       The key whose associated keying material can be  discarded
       at this time.  If this value is CSSM_TRUE, the key data in
       the key structure will be removed and any internal storage
       related to that key will also be removed. In this case the
       key no  longer  exists  in  any  form,  unless  previously
       wrapped  out  of the CSP by the application. If this value
       is CSSM_FALSE, then only the resources related to the  key
       structure are released. The key may still be accessible by
       other means internally to the CSP.

DESCRIPTION    [Toc]    [Back]

       This function requests the cryptographic service  provider
       to  clean up any key material associated with the key, and
       to possibly delete the key from the CSP  completely.  This
       function  also releases the internal storage referenced by
       the KeyData field of the key structure, which can hold the
       actual  key  value.   The key reference by KeyPtr can be a
       persistent key or a transient key.  This  function  clears
       the  cached  copy of the key and can have an effect on the
       long term persistence or transience of the key.

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).

       None specific to this call.





SEE ALSO    [Toc]    [Back]

      
      
       Books

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

       Reference Pages    [Toc]    [Back]




                                                       FreeKey(3)
[ Back ]
 Similar pages
Name OS Title
Terminate Tru64 Clean up module-manager-specific activities (CDSA)
UnwrapKeyP Tru64 Unwrap the wrapped keys with privilege (CDSA)
rcsclean OpenBSD clean up working files
lfs_segclean NetBSD mark a segment clean
rcsclean Tru64 clean up working files
rcsclean FreeBSD clean up working files
rcsclean IRIX clean up working files
dh_clean Linux clean up package build directories
uuclean HP-UX uucp spool directory clean-up
uucleanup IRIX uucp spool directory clean-up
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service