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

  man pages->Tru64 Unix man pages -> WrapKeyP (3)              



NAME    [Toc]    [Back]

       WrapKeyP - Wrap a key with privilege (CDSA)

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

  const  CSSM_ACCESS_CREDENTIALS  *AccessCred,   const
       CSSM_KEY    *Key,    const   CSSM_DATA   *DescriptiveData,
       CSSM_WRAP_KEY_PTR WrappedKey, CSSM_PRIVILEGE Privilege)

LIBRARY    [Toc]    [Back]

       Common Security Services Manager library (libcssm.so)

PARAMETERS    [Toc]    [Back]

       The privilege to be applied during the cryptographic operation.

       See CSSM_WrapKey(3).

DESCRIPTION    [Toc]    [Back]

       This  function  is  similar  to  CSSM_WrapKey().  It  also
       accepts a USEE tag as a privilege request parameter.  CSSM
       checks  that  either its own privilege set or the application's
  privilege  set  (if  the  application  is  signed)
       includes  the  tag.  If  the tag is found, and the service
       provider privilege set indicates that it is supported, the
       tag is forwarded to the service provider.

NOTES    [Toc]    [Back]

       The  KeyData  field of the CSSM_KEY structure is allocated
       by the CSP. The application is required to free this  memory
  using  the CSSM_FreeKey() functon, or with the memory
       functions registered for the CSPHandle.

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

SEE ALSO    [Toc]    [Back]


       Intel    CDSA    Application    Developer's   Guide   (see

       Reference Pages    [Toc]    [Back]

[ Back ]
 Similar pages
Name OS Title
WrapKey Tru64 Wrap a key using the context (CDSA)
CSSM_WrapKey Tru64 Wrap a key using the context (CDSA)
CSP_WrapKey Tru64 Wrap a key using the context (CDSA)
CSSM_GetPrivilege Tru64 Get CSSM privilege value (CDSA)
GenerateKeyP Tru64 Generate a key with privilege (CDSA)
DecryptDataP Tru64 Decrypt data with privilege (CDSA)
EncryptDataP Tru64 Encrypt data with privilege (CDSA)
GenerateKeyPairP Tru64 Generate an asymmetric key pair with privilege (CDSA)
UnwrapKeyP Tru64 Unwrap the wrapped keys with privilege (CDSA)
CSSM_SetPrivilege Tru64 Store privilege value in CSSM framework (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service