|
|
|
Location:
signed,h
Link against: crypto.lib
CSignedObject
Supported from 6.0
Base class for certificates.
|
Defined in CSignedObject:
DataElementEncoding(), Encoding(), ExternalizeL(), Fingerprint(), InternalizeL(), SetParametersL(), Signature(), SignedDataL(), SigningAlgorithm(), VerifySignatureL(), ~CSignedObject()
Inherited from CBase:
operator new()
TBool VerifySignatureL(const TDesC8& aEncodedKey) const;
Verifies a signature using the specified encoded key.
|
|
const TPtrC8 Signature() const;
Gets the digital signature.
|
virtual const TPtrC8 SignedDataL() const = 0;
Gets the signed data.
|
const TPtrC8 Fingerprint() const;
Gets the fingerprint.
The fingerprint returned is the MD5 hash of the encoding of the entire object.
|
const TPtrC8 Encoding() const;
Gets the entire encoding.
|
const CSigningAlgorithmIdentifier& SigningAlgorithm() const;
Gets the signing algorithm ID used.
|
virtual void ExternalizeL(RWriteStream& aStream) const;
Externalises the encoding of the entire object to a write stream.
The fingerprint and the signed data can be regenerated after restoration.
|
virtual void InternalizeL(RReadStream& aStream) = 0;
Internalises the encoded object from a read stream.
The class makes use of a specification-specific parser class for extracting the various elements, and is provided by a subclass of CSignedObject. For this reason this function is pure virtual.
|
void SetParametersL(const CSigningKeyParameters& aParameters);
Sets the signing key parameters.
|