Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CBase:

Inherited from CRSASignatureResult:


Construction and destruction


NewL(const CAlgorithmIdentifier &,const TDesC8 &)

IMPORT_C static 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(const CAlgorithmIdentifier &,const TDesC8 &)

IMPORT_C static 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(const TDesC8 &)

IMPORT_C virtual 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.