CryptoSpi::CSignatureFactory Class Reference

class CryptoSpi::CSignatureFactory

the Factory to create synchronous and asynchronous signer and verifier instance

Public Member Functions
IMPORT_C void CreateAsyncSignerL (CAsyncSigner *&, TUid , const CKey &, TUid , const CCryptoParams *)
IMPORT_C void CreateAsyncVerifierL (CAsyncVerifier *&, TUid , const CKey &, TUid , const CCryptoParams *)
IMPORT_C void CreateSignerL (CSigner *&, TUid , const CKey &, TUid , const CCryptoParams *)
IMPORT_C void CreateVerifierL (CVerifier *&, TUid , const CKey &, TUid , const CCryptoParams *)

Member Functions Documentation

CreateAsyncSignerL(CAsyncSigner *&, TUid, const CKey &, TUid, const CCryptoParams *)

IMPORT_C void CreateAsyncSignerL ( CAsyncSigner *& aAsyncSigner,
TUid aAlgorithmUid,
const CKey & aKey,
TUid aPaddingMode,
const CCryptoParams * aAlgorithmParams
) [static]

Creates a new instance of a asynchronous signer.

Parameters

CAsyncSigner *& aAsyncSigner A reference to a pointer that should be set to point to the new signer object.
TUid aAlgorithmUid The algorithm to use
const CKey & aKey The signing key.
TUid aPaddingMode The padding mode of the signer.
const CCryptoParams * aAlgorithmParams Parameters that are specific to a particular algorithm. This is for extendibility and will normally be null.

CreateAsyncVerifierL(CAsyncVerifier *&, TUid, const CKey &, TUid, const CCryptoParams *)

IMPORT_C void CreateAsyncVerifierL ( CAsyncVerifier *& aAsyncVerifier,
TUid aAlgorithmUid,
const CKey & aKey,
TUid aPaddingMode,
const CCryptoParams * aAlgorithmParams
) [static]

Creates a new instance of an asynchronous verifier.

Parameters

CAsyncVerifier *& aAsyncVerifier A reference to a pointer that should be set to point to the new verifier object.
TUid aAlgorithmUid The algorithm to use
const CKey & aKey The key to verify the signature with.
TUid aPaddingMode The padding mode of the signer.
const CCryptoParams * aAlgorithmParams Parameters that are specific to a particular algorithm. This is for extendibility and will normally be null.

CreateSignerL(CSigner *&, TUid, const CKey &, TUid, const CCryptoParams *)

IMPORT_C void CreateSignerL ( CSigner *& aSigner,
TUid aAlgorithmUid,
const CKey & aKey,
TUid aPaddingMode,
const CCryptoParams * aAlgorithmParams
) [static]

Creates a new instance of a synchronous signer.

Parameters

CSigner *& aSigner A reference to a pointer that should be set to point to the new signer object.
TUid aAlgorithmUid The algorithm to use.
const CKey & aKey The signing key.
TUid aPaddingMode The padding mode of the signer.
const CCryptoParams * aAlgorithmParams Parameters that are specific to a particular algorithm. This is for extendibility and will normally be null.

CreateVerifierL(CVerifier *&, TUid, const CKey &, TUid, const CCryptoParams *)

IMPORT_C void CreateVerifierL ( CVerifier *& aVerifier,
TUid aAlgorithmUid,
const CKey & aKey,
TUid aPaddingMode,
const CCryptoParams * aAlgorithmParams
) [static]

Creates a new instance of a verifier.

Parameters

CVerifier *& aVerifier A reference to a pointer that should be set to point to the new verifier object.
TUid aAlgorithmUid The algorithm to use
const CKey & aKey The key to verify the signature with.
TUid aPaddingMode The padding mode of the signer.
const CCryptoParams * aAlgorithmParams Parameters that are specific to a particular algorithm. This is for extendibility and will normally be null.