MCertInfo Class Reference
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.
Constructor & Destructor Documentation
MCertInfo()
IMPORT_C
|
MCertInfo
|
(
|
)
|
[protected]
|
MCertInfo(const TDesC &, TCertificateFormat, TCertificateOwnerType, TInt, const TKeyIdentifier *, const TKeyIdentifier *, TInt, TBool)
IMPORT_C
|
MCertInfo
|
(
|
const
TDesC
&
|
aLabel,
|
|
TCertificateFormat
|
aFormat,
|
|
TCertificateOwnerType
|
aCertificateOwnerType,
|
|
TInt
|
aSize,
|
|
const
TKeyIdentifier
*
|
aSubjectKeyId,
|
|
const
TKeyIdentifier
*
|
aIssuerKeyId,
|
|
TInt
|
aCertificateId,
|
|
TBool
|
aDeletable
|
|
)
|
[protected]
|
MCertInfo(const MCertInfo &)
IMPORT_C
|
MCertInfo
|
(
|
const
MCertInfo
&
|
aOther
|
)
|
[protected]
|
~MCertInfo()
IMPORT_C
|
~MCertInfo
|
(
|
)
|
[protected]
|
Member Functions Documentation
ConstructL(const TDesC8 *)
IMPORT_C void
|
ConstructL
|
(
|
const
TDesC8
*
|
aIssuerHash
|
)
|
[protected]
|
ExternalizeL(RWriteStream &)
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
Parameters
RWriteStream
& aStream
|
Stream to which the object should be externalised.
|
InternalizeL(RReadStream &)
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
Parameters
RReadStream
& aStream
|
Stream from which the object should be internalised.
|
IssuerHash()
const
TDesC8
*
|
IssuerHash
|
(
|
)
|
const [protected]
|
Valid()
TBool
|
Valid
|
(
|
)
|
const [private]
|
operator=(const MCertInfo &)
Member Data Documentation
TInt
iCertificateId
TInt
|
iCertificateId
|
[protected]
|
TCertificateOwnerType
iCertificateOwnerType
TCertificateOwnerType
|
iCertificateOwnerType
|
[protected]
|
TBool
iDeletable
TBool
|
iDeletable
|
[protected]
|
TCertificateFormat
iFormat
TCertificateFormat
|
iFormat
|
[protected]
|
HBufC8 * iIssuerHash
HBufC8
*
|
iIssuerHash
|
[private]
|
TKeyIdentifier
iIssuerKeyId
TKeyIdentifier
iSubjectKeyId
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.