Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: signed.h

Class TKeyFactory

class TKeyFactory;

Description

Constructs the public key objects used for signature verification from their encoded binary form.

Members

Defined in TKeyFactory:
DSAParametersL(), DSAPublicKeyL(), DSAPublicKeyL(), DSASignatureL(), RSAPublicKeyL(), RSASignatureResultL()


Member functions


RSAPublicKeyL()

virtual CRSAPublicKey *RSAPublicKeyL(const TDesC8 &aEncoding) const=0;

Description

Gets the RSA public key.

Parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CRSAPublicKey *

The RSA Public key.


RSASignatureResultL()

virtual CRSASignatureResult *RSASignatureResultL(const CAlgorithmIdentifier &aDigestAlgorithm, TDesC8 &aDigest) const=0;

Description

Gets the RSA signature result.

Parameters

const CAlgorithmIdentifier &aDigestAlgorithm

The algorithm ID.

TDesC8 &aDigest

A non-modifiable descriptor representing the digest algorithm.

Return value

CRSASignatureResult *

The RSA signature result.


DSAPublicKeyL()

virtual CDSAPublicKey *DSAPublicKeyL(const CDSAParameters &aParams, const TDesC8 &aEncoding) const=0;

Description

Gets the DSA public key.

Parameters

const CDSAParameters &aParams

The DSA parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CDSAPublicKey *

The DSA public key.


DSASignatureL()

virtual CDSASignature *DSASignatureL(const TDesC8 &aEncoding) const=0;

Description

Gets the digital DSA signature given an encoding key.

Parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CDSASignature *

The DSA signature.


DSAParametersL()

virtual CDSAParameters *DSAParametersL(const TDesC8 &aEncoding) const=0;

Description

Gets the DSA parameters.

Parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CDSAParameters *

The DSA parameters.


DSAPublicKeyL()

virtual CDSAPublicKey *DSAPublicKeyL(const TDesC8 &aParamsEncoding, const TDesC8 &aEncoding) const=0;

Description

Parameters

const TDesC8 &aParamsEncoding

const TDesC8 &aEncoding

Return value

CDSAPublicKey *