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

Parameters
othercertificate to compare with
Returns
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).

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

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

Return the type of this certificate.

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

Return the version of this certificate.

Returns
the version of this certificate

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