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.

Parameters
aEncodingA non-modifiable descriptor representing the entire encoding.
Return Value
The DSA parameters.

DSAPublicKeyL ( const CDSAParameters &, const TDesC8 & )

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

Gets the DSA public key.

Parameters
aParamsThe DSA parameters
aEncodingA non-modifiable descriptor representing the entire encoding.
Return Value
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.

Parameters
aEncodingA non-modifiable descriptor representing the entire encoding.
Return Value
The DSA signature.

RSAPublicKeyL ( const TDesC8 & )

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

Gets the RSA public key.

Parameters
aEncodingA non-modifiable descriptor representing the entire encoding.
Return Value
The RSA Public key.

RSASignatureResultL ( const CAlgorithmIdentifier &, TDesC8 & )

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

Gets the RSA signature result.

Parameters
aDigestAlgorithmThe algorithm ID.
aDigestA non-modifiable descriptor representing the digest algorithm.
Return Value
The RSA signature result.