TX509KeyFactory Class Reference

#include <x509cert.h>

class TX509KeyFactory : public TKeyFactory

Inherits from

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

Detailed Description

Constructs the public key objects used for signature verification, from their encoded binary form, for X.509 certificates.

Since
v6.0

Member Function Documentation

DSAParametersL ( const TDesC8 & )

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

Reimplemented from TKeyFactory::DSAParametersL(const TDesC8 &)const

Gets the DSA parameters from the encoding key.

ParameterDescription
aEncodingA non-modifiable descriptor representing the entire encoding.

Returns: The DSA parameters.

DSAPublicKeyL ( const TDesC8 &, const TDesC8 & )

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

Reimplemented from TKeyFactory::DSAPublicKeyL(const TDesC8 &,const TDesC8 &)const

Gets the DSA public key from the encoding key.

Since
v8.0
ParameterDescription
aParamsEncodingA non-modifiable descriptor representing the encoded binary representation of the DSA parameters
aEncodingA non-modifiable descriptor representing the entire encoding.

Returns: The DSA public key.

DSAPublicKeyL ( const CDSAParameters &, const TDesC8 & )

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

Reimplemented from TKeyFactory::DSAPublicKeyL(const CDSAParameters &,const TDesC8 &)const

Gets the DSA public key from the encoding key.

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

Returns: The DSA public key.

DSASignatureL ( const TDesC8 & )

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

Reimplemented from TKeyFactory::DSASignatureL(const TDesC8 &)const

Gets the digital DSA signature from the encoding key.

ParameterDescription
aEncodingA non-modifiable descriptor representing the entire encoding.

Returns: The DSA signature.

RSAPublicKeyL ( const TDesC8 & )

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

Reimplemented from TKeyFactory::RSAPublicKeyL(const TDesC8 &)const

Gets the RSA public key from the encoding key.

ParameterDescription
aEncodingA non-modifiable descriptor representing the entire encoding.

Returns: The RSA Public key.

RSASignatureResultL ( const CAlgorithmIdentifier &, TDesC8 & )

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

Reimplemented from TKeyFactory::RSASignatureResultL(const CAlgorithmIdentifier &,TDesC8 &)const

Gets the RSA signature result.

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

Returns: The RSA signature result.