Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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


Member functions


RSAPublicKeyL(const TDesC8 &)const

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

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(const CDSAParameters &,const TDesC8 &)const

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

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

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

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

Description

Parameters

const TDesC8 &aParamsEncoding

const TDesC8 &aEncoding

Return value

CDSAPublicKey *