certificate Class Referenceabstract
Inheritance diagram for certificate:
Collaboration diagram for certificate:

Public Member Functions

virtual const byteArray getEncoded () const =0
virtual const string getType () const =0
virtual int getVersion () const =0
virtual bool equals (shared_ptr< const certificate > other) const =0
virtual void * getInternalData ()=0

Additional Inherited Members

- Protected Member Functions inherited from object
 object ()
 object (const object &)
objectoperator= (const object &)
virtual ~object ()

Detailed Description

Identity certificate for a peer.

Member Function Documentation

virtual bool equals ( shared_ptr< const certificate other) const
pure virtual

Checks if two certificates are the same.

othercertificate to compare with
true if the two certificates are the same, false otherwise
virtual const byteArray getEncoded ( ) const
pure virtual

Returns the encoded form of this certificate (for example, X.509 certificates are encoded as ASN.1 DER).

the encoded form of this certificate
virtual void* getInternalData ( )
pure virtual

Returns a pointer to internal binary data for this certificate.

The actual type of data depends on the library used for TLS support.

pointer to underlying data
virtual const string getType ( ) const
pure virtual

Return the type of this certificate.

the type of this certificate
virtual int getVersion ( ) const
pure virtual

Return the version of this certificate.

the version of this certificate

The documentation for this class was generated from the following file: