TKeyFactory Class Reference

class TKeyFactory

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

v6.0

Public Member Functions
CDSAParameters *DSAParametersL(const TDesC8 &)
CDSAPublicKey *DSAPublicKeyL(const CDSAParameters &, const TDesC8 &)
CDSAPublicKey *DSAPublicKeyL(const TDesC8 &, const TDesC8 &)
CDSASignature *DSASignatureL(const TDesC8 &)
CRSAPublicKey *RSAPublicKeyL(const TDesC8 &)
CRSASignatureResult *RSASignatureResultL(const CAlgorithmIdentifier &, TDesC8 &)

Member Functions Documentation

DSAParametersL(const TDesC8 &)

CDSAParameters *DSAParametersL(const TDesC8 &aEncoding)const [pure virtual]

Gets the DSA parameters.

The DSA parameters.

Parameters

const TDesC8 & aEncodingA non-modifiable descriptor representing the entire encoding.

DSAPublicKeyL(const CDSAParameters &, const TDesC8 &)

CDSAPublicKey *DSAPublicKeyL(const CDSAParameters &aParams,
const TDesC8 &aEncoding
)const [pure virtual]

Gets the DSA public key.

The DSA public key.

Parameters

const CDSAParameters & aParamsThe DSA parameters
const TDesC8 & aEncodingA non-modifiable descriptor representing the entire encoding.

DSAPublicKeyL(const TDesC8 &, const TDesC8 &)

CDSAPublicKey *DSAPublicKeyL(const TDesC8 &aParamsEncoding,
const TDesC8 &aEncoding
)const [pure virtual]

Parameters

const TDesC8 & aParamsEncoding
const TDesC8 & aEncoding

DSASignatureL(const TDesC8 &)

CDSASignature *DSASignatureL(const TDesC8 &aEncoding)const [pure virtual]

Gets the digital DSA signature given an encoding key.

The DSA signature.

Parameters

const TDesC8 & aEncodingA non-modifiable descriptor representing the entire encoding.

RSAPublicKeyL(const TDesC8 &)

CRSAPublicKey *RSAPublicKeyL(const TDesC8 &aEncoding)const [pure virtual]

Gets the RSA public key.

The RSA Public key.

Parameters

const TDesC8 & aEncodingA non-modifiable descriptor representing the entire encoding.

RSASignatureResultL(const CAlgorithmIdentifier &, TDesC8 &)

CRSASignatureResult *RSASignatureResultL(const CAlgorithmIdentifier &aDigestAlgorithm,
TDesC8 &aDigest
)const [pure virtual]

Gets the RSA signature result.

The RSA signature result.

Parameters

const CAlgorithmIdentifier & aDigestAlgorithmThe algorithm ID.
TDesC8 & aDigestA non-modifiable descriptor representing the digest algorithm.