Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509cert.h
Link against: x509.lib

Class CPKCS1SignatureResult

class CPKCS1SignatureResult : public CRSASignatureResult;

Description

The signature result in PKCS#1 format.

Derivation

Members

Defined in CPKCS1SignatureResult:
NewL(), NewLC(), VerifyL()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CRSASignatureResult:
iDigest, iDigestAlgorithm, operator==()


Construction and destruction


NewL()

static IMPORT_C CPKCS1SignatureResult *NewL(const CAlgorithmIdentifier &aDigestAlgorithm, const TDesC8 &aDigest);

Description

Creates a new algorithm ID object copied from an existing object.

Parameters

const CAlgorithmIdentifier &aDigestAlgorithm

The algorithm ID object to be copied.

const TDesC8 &aDigest

A non-modifiable descriptor representing the digest algorithm.

Return value

CPKCS1SignatureResult *

A pointer to the new algorithm ID object.


NewLC()

static IMPORT_C CPKCS1SignatureResult *NewLC(const CAlgorithmIdentifier &aDigestAlgorithm, const TDesC8 &aDigest);

Description

Creates a new algorithm ID object copied from an existing object, and puts a pointer to the new object onto the cleanup stack.

Parameters

const CAlgorithmIdentifier &aDigestAlgorithm

The algorithm ID object to be copied.

const TDesC8 &aDigest

A non-modifiable descriptor representing the digest algorithm.

Return value

CPKCS1SignatureResult *

A pointer to the new algorithm ID object.

[Top]


Member functions


VerifyL()

virtual IMPORT_C TBool VerifyL(const TDesC8 &aResult);

Description

Tests whether the signature result is valid.

Parameters

const TDesC8 &aResult

The signature result to be verified.

Return value

TBool

ETrue, if the signature result is verified; EFalse, otherwise.