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

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

GenerateKeyP(3)

Contents


NAME    [Toc]    [Back]

       GenerateKeyP - Generate a key with privilege (CDSA)

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

       CSSM_RETURN   CSSMAPI   CSSM_GenerateKeyP  (CSSM_CC_HANDLE
       CCHandle, uint32 KeyUsage, uint32 KeyAttr, const CSSM_DATA
       *KeyLabel,  const CSSM_RESOURCE_CONTROL_CONTEXT *CredAndAclEntry,
 CSSM_KEY_PTR Key, 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_GenerateKey(3) for other parameters.

DESCRIPTION    [Toc]    [Back]

       This  function  is similar to the CSSM_GenerateKey() function.
 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.

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

SEE ALSO    [Toc]    [Back]

      
      
       Books

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

       Reference Pages    [Toc]    [Back]

       Functions:   CSSM_GenerateKeyPairP(3),   CSSM_GenerateRandom(3)



                                                  GenerateKeyP(3)
[ Back ]
 Similar pages
Name OS Title
GenerateKeyPairP Tru64 Generate an asymmetric key pair with privilege (CDSA)
WrapKeyP Tru64 Wrap a key with privilege (CDSA)
CSSM_GetPrivilege Tru64 Get CSSM privilege value (CDSA)
DecryptDataP Tru64 Decrypt data with privilege (CDSA)
EncryptDataP Tru64 Encrypt data with privilege (CDSA)
UnwrapKeyP Tru64 Unwrap the wrapped keys with privilege (CDSA)
CSSM_SetPrivilege Tru64 Store privilege value in CSSM framework (CDSA)
EncryptDataInitP Tru64 Initialize the staged encrypt function with privilege (CDSA)
DecryptDataInitP Tru64 Intialize the staged decrypt function with privilege (CDSA)
addpriv IRIX add a privilege to the system administration privilege database
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service