CSSM_CSP_ObtainPrivateKeyFromPublicKey man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

ObtainPrivateKeyFromPublicKey(3)	      ObtainPrivateKeyFromPublicKey(3)

NAME
       ObtainPrivateKeyFromPublicKey,  CSSM_CSP_ObtainPrivateKeyFromPublicKey,
       CSP_ObtainPrivateKeyFromPublicKey - Convert public key to  private  key
       (CDSA)

SYNOPSIS
       # include <cdsa/cssm.h>

       API:    CSSM_RETURN    CSSMAPI	CSSM_CSP_ObtainPrivateKeyFromPublicKey
       (CSSM_CSP_HANDLE CSPHandle const CSSM_KEY *PublicKey, CSSM_KEY_PTR Pri‐
       vateKey)	 SPI:  CSSM_RETURN  CSSMCSPI CSP_ObtainPrivateKeyFromPublicKey
       (CSSM_CSP_HANDLE CSPHandle,  const  CSSM_KEY  *PublicKey,  CSSM_KEY_PTR
       PrivateKey)

LIBRARY
       Common Security Services Manager library (libcssm.so)

PARAMETERS
       The  handle  that  describes the module to perform this operation.  The
       public key corresponding to the private key being sought.  A  reference
       to the private key corresponding to the public key.

DESCRIPTION
       Given  a	 public	 key  this function returns a reference to the private
       key. The private key and its associated passphrase can be  used	as  an
       input to any function requiring a private key value.

NOTES
       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() (CSSM API), or CSP_FreeKey() (CSP SPI), function or with
       the memory functions registered for the CSPHandle.

RETURN VALUE
       A CSSM_RETURN value indicating success or specifying a particular error
       condition. The value CSSM_OK indicates success. All other values repre‐
       sent an error condition.

ERRORS
       Errors  are  described	in   the   CDSA	  technical   standard.	   See
       CDSA_intro(3).  CSSMERR_CSP_PRIVATE_KEY_NOT_FOUND

SEE ALSO
       Books

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

       Reference Pages

					      ObtainPrivateKeyFromPublicKey(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net