class PSSLCertificate: public PObject

Certificate for SSL.

Inheritance:


Public Methods

[more] PSSLCertificate ()
Create an empty certificate
[more] PSSLCertificate ( const PFilePath & certFile, int fileType = -1 )
Create a new certificate given the file.
[more] PSSLCertificate ( const BYTE * certData, PINDEX certSize )
Create certificate from the binary data specified.
[more] PSSLCertificate ( const PBYTEArray & certData )
Create certificate from the binary data specified.
[more] PSSLCertificate ( const PSSLCertificate & cert )
Create a copy of the certificate
[more]PSSLCertificate& operator= ( const PSSLCertificate & cert )
Create a copy of the certificate
[more] ~PSSLCertificate ()
Destroy and release storage for certificate
[more] operator x509_st * () const
Get internal OpenSSL X509 structure


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

Certificate for SSL. This class embodies a common environment for all certificates used by the PSSLContext and PSSLChannel classes.
o PSSLCertificate()
Create an empty certificate

o PSSLCertificate( const PFilePath & certFile, int fileType = -1 )
Create a new certificate given the file. The type of the certificate (eg SSL_FILETYPE_PEM) can be specified explicitly, or if -1 it will be determined from the file extension.
Parameters:
certFile - Certificate file

o PSSLCertificate( const BYTE * certData, PINDEX certSize )
Create certificate from the binary data specified.
Parameters:
certData - Certificate data
certSize - Size of certificate data

o PSSLCertificate( const PBYTEArray & certData )
Create certificate from the binary data specified.
Parameters:
certData - Certificate data

o PSSLCertificate( const PSSLCertificate & cert )
Create a copy of the certificate

oPSSLCertificate& operator=( const PSSLCertificate & cert )
Create a copy of the certificate

o ~PSSLCertificate()
Destroy and release storage for certificate

o operator x509_st *() const
Get internal OpenSSL X509 structure


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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