#include <cctcertinfo.h>
class MCertInfo |
Public Member Functions | |
---|---|
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
Protected Member Functions | |
---|---|
MCertInfo() | |
MCertInfo(const TDesC &, TCertificateFormat, TCertificateOwnerType, TInt, const TKeyIdentifier *, const TKeyIdentifier *, TInt, TBool) | |
MCertInfo(const MCertInfo &) | |
~MCertInfo() | |
IMPORT_C void | ConstructL(const TDesC8 *) |
const TDesC8 * | IssuerHash() |
Mix-in class representnig data about a stored certificate. Provides implementation of serialization.
Note that for backward compatibility reasons, the issuer hash is not serialised.
IMPORT_C | MCertInfo | ( | const TDesC & | aLabel, |
TCertificateFormat | aFormat, | |||
TCertificateOwnerType | aCertificateOwnerType, | |||
TInt | aSize, | |||
const TKeyIdentifier * | aSubjectKeyId, | |||
const TKeyIdentifier * | aIssuerKeyId, | |||
TInt | aCertificateId, | |||
TBool | aDeletable | |||
) | [protected] |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalises an object of this class to a write stream.
The presence of this function means that the standard templated operator<<() can be used to externalise objects of this class.
EXPORT_C void MCertInfo::ExternalizeL(RWriteStream& aStream) const
This method externalizes the MCertInfo object to the given stream. The iDeletable boolean attribute is combined with the iFormat attribute for certstore backward compatibility
Parameter | Description |
---|---|
aStream | Stream to which the object should be externalised. |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Internalises an object of this class from a read stream.
The presence of this function means that the standard templated operator>>() can be used to internalise objects of this class.
Note that this function has assignment semantics: it replaces the old value of the object with a new value read from the read stream.
EXPORT_C void MCertInfo::InternalizeL(RReadStream& aStream)
This method internalizes a MCertInfo object from the given stream. The iDeletable boolean and iFormat attributes are both extracted from the stored iFormat value using for certstore backward compatibility
Parameter | Description |
---|---|
aStream | Stream from which the object should be internalised. |