Swi::CCertificateInfo Class Reference
class Swi::CCertificateInfo : public CBase |
A lightweight class containing certificate information.
Constructor & Destructor Documentation
CCertificateInfo()
CCertificateInfo | ( | ) | [private] |
~CCertificateInfo()
~CCertificateInfo | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(const CX509Certificate &)
ExternalizeL(RWriteStream &)
Externalizes this object to the specified write stream.
Parameters
RWriteStream & aStream | Stream to which the contents should be externalized. |
Fingerprint()
const TDesC8 & | Fingerprint | ( | ) | const [inline] |
Gets the subject name of the certificate.
InternalizeL(RReadStream &)
Initializes this object from the specified read stream.
Parameters
RReadStream & aStream | Stream from which the contents should be internalized. |
IssuerName()
const TDesC & | IssuerName | ( | ) | const [inline] |
Gets the issuer name of the certificate.
NewL(const CX509Certificate &)
Constructs a new certificate info object from an existing X509 Certificate.
Parameters
const CX509Certificate & aCertificate | The X509 certificate to construct the information from. |
NewL(RReadStream &)
Constructs a new certificate info object from a readable stream.
Parameters
RReadStream & aStream | The stream to read the certificate info from. |
NewLC(const CX509Certificate &)
Constructs a new certificate info object from an existing X509 Certificate.
The returned pointer is put onto the cleanup stack.
Parameters
const CX509Certificate & aCertificate | The X509 certificate to construct the information from. |
NewLC(RReadStream &)
Constructs a new certificate info object from a readable stream.
The returned pointer is put onto the cleanup stack.
Parameters
RReadStream & aStream | The stream to read the certificate info from. |
ReadBufFromStreamL(HBufC *&, RReadStream &)
Helper function used to internalize a descriptor from a stream, into a member variable. This function frees the memory pointed to first.
Parameters
HBufC *& aBuffer | Reference to the pointer which will point at newly allocated buffer. |
RReadStream & aStream | Stream from which the descriptor is read. |
ReadBufFromStreamL(HBufC8 *&, RReadStream &)
Helper function used to internalize a descriptor from a stream, into a member variable. This function frees the memory pointed to first.
Parameters
HBufC8 *& aBuffer | Reference to the pointer which will point at newly allocated buffer. |
RReadStream & aStream | Stream from which the descriptor is read. |
SerialNumber()
const TDesC8 & | SerialNumber | ( | ) | const [inline] |
Gets the subject name of the certificate.
SubjectName()
const TDesC & | SubjectName | ( | ) | const [inline] |
Gets the subject name of the certificate.
ValidFrom()
Gets the date the certificate is valid from.
ValidTo()
Gets the date the certificate is valid until.
Member Data Documentation
HBufC * iIssuerName
HBufC * | iIssuerName | [private] |
HBufC8 * iSerialNumber
HBufC8 * | iSerialNumber | [private] |
HBufC * iSubjectName
HBufC * | iSubjectName | [private] |
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.