TX509KeyFactory Class Reference

class TX509KeyFactory : public TKeyFactory

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

Since
v6.0

Inherits from

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

Member Functions Documentation

DSAParametersL(const TDesC8 &)

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

Gets the DSA parameters from the encoding key.

Parameters

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

DSAPublicKeyL(const TDesC8 &, const TDesC8 &)

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

Gets the DSA public key from the encoding key.

Since
v8.0

Parameters

const TDesC8 & aParamsEncodingA non-modifiable descriptor representing the encoded binary representation of the DSA parameters
const TDesC8 & aEncodingA non-modifiable descriptor representing the entire encoding.

DSAPublicKeyL(const CDSAParameters &, const TDesC8 &)

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

Gets the DSA public key from the encoding key.

Parameters

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

DSASignatureL(const TDesC8 &)

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

Gets the digital DSA signature from the encoding key.

Parameters

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

RSAPublicKeyL(const TDesC8 &)

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

Gets the RSA public key from the encoding key.

Parameters

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

RSASignatureResultL(const CAlgorithmIdentifier &, TDesC8 &)

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

Gets the RSA signature result.

Parameters

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