TWTLSKeyFactory Class Reference

#include <wtlscert.h>

Link against: wtlscert.lib

class TWTLSKeyFactory : public TKeyFactory

Inherits from

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

Member Function Documentation

DSAParametersL ( const TDesC8 & )

CDSAParameters *DSAParametersL(const TDesC8 &aEncoding)const [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 [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 [virtual]

DSASignatureL ( const TDesC8 & )

CDSASignature *DSASignatureL(const TDesC8 &aEncoding)const [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 [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 [virtual]

Gets the RSA signature result.

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

Returns: The RSA signature result.