class PSSLPrivateKey: public PObject

Private key for SSL.

Inheritance:


Public Methods

[more] PSSLPrivateKey ()
Create an empty private key
[more] PSSLPrivateKey ( const PFilePath & keyFile )
Create a new private key given the file.
[more] PSSLPrivateKey ( const BYTE * keyData, PINDEX keySize, BYTE xorSeed = 0 )
Create private key from the binary data specified.
[more] PSSLPrivateKey ( const PSSLPrivateKey & privKay )
Create a copy of the private key
[more]PSSLPrivateKey& operator= ( const PSSLPrivateKey & privKay )
Create a copy of the private key
[more] ~PSSLPrivateKey ()
Destroy and release storage for private key
[more] operator evp_pkey_st * () const
Get internal OpenSSL private key structure


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

Private key for SSL. This class embodies a common environment for all private keys used by the PSSLContext and PSSLChannel classes.
o PSSLPrivateKey()
Create an empty private key

o PSSLPrivateKey( const PFilePath & keyFile )
Create a new private key given the file. The type of the private key (eg SSL_FILETYPE_PEM) can be specified explicitly, or if -1 it will be determined from the file extension.
Parameters:
keyFile - Private key file

o PSSLPrivateKey( const BYTE * keyData, PINDEX keySize, BYTE xorSeed = 0 )
Create private key from the binary data specified. If the xorSeed is non-zero then it is used in a simple XOR encryption of the static data allowing it to be hidden in the binary executable. This does not need to be cryptographically strong as it is only intended to prevent simple scanning for the key in a binary file.
Parameters:
keyData - Private key data
keySize - Size of private key data
xorSeed - XOR seed value for data hiding

o PSSLPrivateKey( const PSSLPrivateKey & privKay )
Create a copy of the private key

oPSSLPrivateKey& operator=( const PSSLPrivateKey & privKay )
Create a copy of the private key

o ~PSSLPrivateKey()
Destroy and release storage for private key

o operator evp_pkey_st *() const
Get internal OpenSSL private key structure


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.