Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:


Member functions


RSAPublicKeyL(const TDesC8 &)const

IMPORT_C virtual 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(const CAlgorithmIdentifier &,TDesC8 &)const

IMPORT_C virtual 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(const TDesC8 &,const TDesC8 &)const

IMPORT_C virtual 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(const TDesC8 &)const

IMPORT_C virtual 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(const TDesC8 &)const

IMPORT_C virtual 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(const CDSAParameters &,const TDesC8 &)const

IMPORT_C virtual 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.