Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509cert.h
Link against: x509.lib

Class TX509KeyFactory

class TX509KeyFactory : public TKeyFactory;

Description

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

Derivation

Members

Defined in TX509KeyFactory:
DSAParametersL(), DSAPublicKeyL(), DSAPublicKeyL(), DSASignatureL(), RSAPublicKeyL(), RSASignatureResultL()


Member functions


RSAPublicKeyL()

virtual IMPORT_C CRSAPublicKey *RSAPublicKeyL(const TDesC8 &aEncoding) const;

Description

Gets the RSA public key from the encoding key.

Parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CRSAPublicKey *

The RSA Public key.


RSASignatureResultL()

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

Description

Gets the RSA signature result.

Parameters

const CAlgorithmIdentifier &aDigestAlgorithm

The digest algorithm ID.

TDesC8 &aDigest

A non-modifiable descriptor representing the digest algorithm.

Return value

CRSASignatureResult *

The RSA signature result.


DSAPublicKeyL()

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

Description

Gets the DSA public key from the encoding key.

Parameters

const TDesC8 &aParamsEncoding

A non-modifiable descriptor representing the encoded binary representation of the DSA parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CDSAPublicKey *

The DSA public key.


DSASignatureL()

virtual IMPORT_C CDSASignature *DSASignatureL(const TDesC8 &aEncoding) const;

Description

Gets the digital DSA signature from the encoding key.

Parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CDSASignature *

The DSA signature.


DSAParametersL()

virtual IMPORT_C CDSAParameters *DSAParametersL(const TDesC8 &aEncoding) const;

Description

Gets the DSA parameters from the encoding key.

Parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CDSAParameters *

The DSA parameters.


DSAPublicKeyL()

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

Description

Gets the DSA public key from the encoding key.

Parameters

const CDSAParameters &aParams

The DSA parameters

const TDesC8 &aEncoding

A non-modifiable descriptor representing the entire encoding.

Return value

CDSAPublicKey *

The DSA public key.