TKeyFactory Class Reference

#include <signed.h>

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

Detailed Description

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

Since
v6.0

Member Function Documentation

DSAParametersL ( const TDesC8 & )

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

Gets the DSA parameters.

ParameterDescription
aEncodingA non-modifiable descriptor representing the entire encoding.

Returns: The DSA parameters.

DSAPublicKeyL ( const CDSAParameters &, const TDesC8 & )

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

Gets the DSA public key.

ParameterDescription
aParamsThe DSA parameters
aEncodingA non-modifiable descriptor representing the entire encoding.

Returns: The DSA public key.

DSAPublicKeyL ( const TDesC8 &, const TDesC8 & )

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

DSASignatureL ( const TDesC8 & )

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

Gets the digital DSA signature given an encoding key.

ParameterDescription
aEncodingA non-modifiable descriptor representing the entire encoding.

Returns: The DSA signature.

RSAPublicKeyL ( const TDesC8 & )

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

Gets the RSA public key.

ParameterDescription
aEncodingA non-modifiable descriptor representing the entire encoding.

Returns: The RSA Public key.

RSASignatureResultL ( const CAlgorithmIdentifier &, TDesC8 & )

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

Gets the RSA signature result.

ParameterDescription
aDigestAlgorithmThe algorithm ID.
aDigestA non-modifiable descriptor representing the digest algorithm.

Returns: The RSA signature result.