class Swi::CCertificateInfo : public CBase |
A lightweight class containing certificate information.
Public Member Functions | |
---|---|
~CCertificateInfo () | |
void | ExternalizeL ( RWriteStream &) |
const TDesC8 & | Fingerprint () |
void | InternalizeL ( RReadStream &) |
const TDesC & | IssuerName () |
IMPORT_C CCertificateInfo * | NewL (const CX509Certificate &) |
IMPORT_C CCertificateInfo * | NewL ( RReadStream &) |
IMPORT_C CCertificateInfo * | NewLC (const CX509Certificate &) |
IMPORT_C CCertificateInfo * | NewLC ( RReadStream &) |
const TDesC8 & | SerialNumber () |
const TDesC & | SubjectName () |
const TDateTime & | ValidFrom () |
const TDateTime & | ValidTo () |
Private Member Functions | |
---|---|
CCertificateInfo () | |
void | ConstructL (const CX509Certificate &) |
void | ReadBufFromStreamL ( HBufC *&, RReadStream &) |
void | ReadBufFromStreamL ( HBufC8 *&, RReadStream &) |
Private Attributes | |
---|---|
HBufC8 * | iFingerprint |
HBufC * | iIssuerName |
HBufC8 * | iSerialNumber |
HBufC * | iSubjectName |
TDateTime | iValidFrom |
TDateTime | iValidTo |
void | ConstructL | ( | const CX509Certificate & | aCertificate | ) | [private] |
const CX509Certificate & aCertificate |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalizes this object to the specified write stream.
RWriteStream & aStream | Stream to which the contents should be externalized. |
const TDesC8 & | Fingerprint | ( | ) | const [inline] |
Gets the subject name of the certificate.
void | InternalizeL | ( | RReadStream & | aStream | ) |
Initializes this object from the specified read stream.
RReadStream & aStream | Stream from which the contents should be internalized. |
IMPORT_C CCertificateInfo * | NewL | ( | const CX509Certificate & | aCertificate | ) | [static] |
Constructs a new certificate info object from an existing X509 Certificate.
const CX509Certificate & aCertificate | The X509 certificate to construct the information from. |
IMPORT_C CCertificateInfo * | NewL | ( | RReadStream & | aStream | ) | [static] |
Constructs a new certificate info object from a readable stream.
RReadStream & aStream | The stream to read the certificate info from. |
IMPORT_C CCertificateInfo * | NewLC | ( | const CX509Certificate & | aCertificate | ) | [static] |
Constructs a new certificate info object from an existing X509 Certificate.
The returned pointer is put onto the cleanup stack.
const CX509Certificate & aCertificate | The X509 certificate to construct the information from. |
IMPORT_C CCertificateInfo * | NewLC | ( | RReadStream & | aStream | ) | [static] |
Constructs a new certificate info object from a readable stream.
The returned pointer is put onto the cleanup stack.
RReadStream & aStream | The stream to read the certificate info from. |
void | ReadBufFromStreamL | ( | HBufC *& | aBuffer, |
RReadStream & | aStream | |||
) | [private] |
Helper function used to internalize a descriptor from a stream, into a member variable. This function frees the memory pointed to first.
HBufC *& aBuffer | Reference to the pointer which will point at newly allocated buffer. |
RReadStream & aStream | Stream from which the descriptor is read. |
void | ReadBufFromStreamL | ( | HBufC8 *& | aBuffer, |
RReadStream & | aStream | |||
) | [private] |
Helper function used to internalize a descriptor from a stream, into a member variable. This function frees the memory pointed to first.
HBufC8 *& aBuffer | Reference to the pointer which will point at newly allocated buffer. |
RReadStream & aStream | Stream from which the descriptor is read. |
const TDesC8 & | SerialNumber | ( | ) | const [inline] |
Gets the subject name of the certificate.
const TDesC & | SubjectName | ( | ) | const [inline] |
Gets the subject name of the certificate.
const TDateTime & | ValidFrom | ( | ) | const [inline] |
Gets the date the certificate is valid from.
const TDateTime & | ValidTo | ( | ) | const [inline] |
Gets the date the certificate is valid until.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.