CryptoSpi

Public Member Type Definitions
typedefvoid(* CreateAsymmetricCipherFuncL
typedefvoid(* CreateHashFuncL
typedefvoid(* CreateKeyAgreementFuncL
typedefvoid(* CreateKeyPairGeneratorFuncL
typedefvoid(* CreateRandomFuncL
typedefvoid(* CreateSignerFuncL
typedefvoid(* CreateSymmetricCipherFuncL
typedefvoid(* CreateVerifierFuncL
typedefconst TCharacteristics **(* EnumerateCharacteristicsFunc
typedefvoid(* GetExtendedCharacteristicsFuncL
typedef TAny TCharacteristics
Public Attributes
const TUidK3DesUid
const TUidKARC4DiscardBytes
const TUidKAesUid
const TInt32KAlgorithmCipher3Des
const TInt32KAlgorithmCipherAes
const TInt32KAlgorithmCipherArc4
const TInt32KAlgorithmCipherDes
const TInt32KAlgorithmCipherKasumi
const TInt32KAlgorithmCipherMisty1
const TInt32KAlgorithmCipherMisty2
const TInt32KAlgorithmCipherRc2
const TInt32KAlgorithmCipherRsa
const TInt32KAlgorithmDHKeyPairGenerator
const TInt32KAlgorithmDSAKeyPairGenerator
const TInt32KAlgorithmHashMd2
const TInt32KAlgorithmHashMd4
const TInt32KAlgorithmHashMd5
const TInt32KAlgorithmHashSha1
const TInt32KAlgorithmHashSha224
const TInt32KAlgorithmHashSha256
const TInt32KAlgorithmHashSha384
const TInt32KAlgorithmHashSha512
const TInt32KAlgorithmKeyAgreementDH
const TInt32KAlgorithmRSAKeyPairGenerator
const TInt32KAlgorithmRandom
const TInt32KAlgorithmSignerDsa
const TInt32KAlgorithmSignerRsa
const TInt32KAlgorithmType
const TUidKAlgorithmTypeUid
const TInt32KAlgorithmVerifierDsa
const TInt32KAlgorithmVerifierRsa
const TUidKArc4Uid
const TInt32KAsymmetricCipherInterface
const TUidKAsymmetricCipherInterfaceUid
const TInt32KAsyncAsymmetricCipherInterface
const TUidKAsyncAsymmetricCipherInterfaceUid
const TInt32KAsyncHashInterface
const TUidKAsyncHashInterfaceUid
const TInt32KAsyncKeyAgreementInterface
const TUidKAsyncKeyAgreementInterfaceUid
const TInt32KAsyncKeyGeneratorInterface
const TUidKAsyncKeyGeneratorInterfaceUid
const TInt32KAsyncKeypairGeneratorInterface
const TUidKAsyncKeypairGeneratorInterfaceUid
const TInt32KAsyncRandomInterface
const TUidKAsyncRandomInterfaceUid
const TInt32KAsyncSignerInterface
const TUidKAsyncSignerInterfaceUid
const TInt32KAsyncSymmetricCipherInterface
const TUidKAsyncSymmetricCipherInterfaceUid
const TInt32KAsyncVerifierInterface
const TUidKAsyncVerifierInterfaceUid
const TInt32KBlockSizeType
const TUidKBlockSizeTypeUid
const TInt32KBlockingModeType
const TUidKBlockingModeTypeUid
const TInt32KConcurrencyType
const TUidKConcurrencyTypeUid
const TInt32KCreatorNameType
const TUidKCreatorNameTypeUid
const TInt32KCryptoModeDecrypt
const TUidKCryptoModeDecryptUid
const TInt32KCryptoModeEncrypt
const TUidKCryptoModeEncryptUid
const TInt32KCryptoModeNone
const TUidKCryptoModeNoneUid
const TUidKCryptoSpiPropertyCat
const TInt32KDHAgreedKey
const TUidKDHAgreedKeyUid
const TUidKDHAgreementUid
const TUidKDHKeyPairGeneratorUid
const TInt32KDHPrivateKey
const TUidKDHPrivateKeyUid
const TInt32KDHPublicKey
const TUidKDHPublicKeyUid
const TUidKDSAKeyPairGeneratorUid
const TUidKDesUid
const TInt32KDhKeyParameterG
const TUidKDhKeyParameterGUid
const TInt32KDhKeyParameterN
const TUidKDhKeyParameterNUid
const TInt32KDhKeyParameterX
const TUidKDhKeyParameterXUid
const TInt32KDhKeyParameterx
const TUidKDhKeyParameterxUid
const TInt32KDsaKeyGenerationCounter
const TUidKDsaKeyGenerationCounterUid
const TInt32KDsaKeyGenerationSeed
const TUidKDsaKeyGenerationSeedUid
const TInt32KDsaKeyParameterG
const TUidKDsaKeyParameterGUid
const TInt32KDsaKeyParameterP
const TUidKDsaKeyParameterPUid
const TInt32KDsaKeyParameterQ
const TUidKDsaKeyParameterQUid
const TInt32KDsaKeyParameterX
const TUidKDsaKeyParameterXUid
const TInt32KDsaKeyParameterY
const TUidKDsaKeyParameterYUid
const TInt32KDsaPrivateKey
const TUidKDsaPrivateKeyUid
const TInt32KDsaPublicKey
const TUidKDsaPublicKeyUid
const TInt32KDsaSignatureParameterR
const TUidKDsaSignatureParameterRUid
const TInt32KDsaSignatureParameterS
const TUidKDsaSignatureParameterSUid
const TUidKDsaSignerUid
const TUidKDsaVerifierUid
const TInt32KExclusiveUseType
const TUidKExclusiveUseTypeUid
const TInt32KExtractableKey
const TUidKExtractableKeyUid
const TInt32KHashInterface
const TUidKHashInterfaceUid
const TInt32KHashMode
const TUidKHashModeUid
const TInt32KHmacKey
const TInt32KHmacKeyParameter
const TUidKHmacKeyParameterUid
const TUidKHmacKeyUid
const TInt32KHmacMode
const TUidKHmacModeUid
const TInt32KImplementationType
const TUidKImplementationTypeUid
const TInt32KInterfaceType
const TUidKInterfaceTypeUid
const TUidKInterfacesUids
const TInt32KIsFIPSApprovedType
const TUidKIsFIPSApprovedTypeUid
const TInt32KIsHardwareSupportedType
const TUidKIsHardwareSupportedTypeUid
const TUidKKasumiUid
const TInt32KKeyAgreementInterface
const TUidKKeyAgreementInterfaceUid
const TInt32KKeyGeneratorInterface
const TUidKKeyGeneratorInterfaceUid
const TInt32KKeySupportModeType
const TUidKKeySupportModeTypeUid
const TInt32KKeypairGeneratorInterface
const TUidKKeypairGeneratorInterfaceUid
const TInt32KLatencyType
const TUidKLatencyTypeUid
const TInt32KMaxConcurrencySupportedType
const TUidKMaxConcurrencySupportedTypeUid
const TInt32KMaximumKeyLengthType
const TUidKMaximumKeyLengthTypeUid
const TUidKMd2Uid
const TUidKMd4Uid
const TUidKMd5Uid
const TUidKMisty1Uid
const TUidKMisty2Uid
const TInt32KNonEmbeddedKey
const TUidKNonEmbeddedKeyUid
const TInt32KNonExtractableKey
const TUidKNonExtractableKeyUid
const TUidKNoneUid
const TInt32KOperationModeCBC
const TUidKOperationModeCBCUid
const TInt32KOperationModeCFB
const TUidKOperationModeCFBUid
const TInt32KOperationModeCTR
const TUidKOperationModeCTRUid
const TInt32KOperationModeECB
const TUidKOperationModeECBUid
const TInt32KOperationModeNone
const TUidKOperationModeNoneUid
const TInt32KOperationModeOFB
const TUidKOperationModeOFBUid
const TInt32KOutputSizeType
const TUidKOutputSizeTypeUid
const TInt32KPaddingInterface
const TUidKPaddingInterfaceUid
const TInt32KPaddingModeNone
const TUidKPaddingModeNoneUid
const TInt32KPaddingModePKCS7
const TUidKPaddingModePKCS7Uid
const TInt32KPaddingModePkcs1_v1_5_Encryption
const TUidKPaddingModePkcs1_v1_5_EncryptionUid
const TInt32KPaddingModePkcs1_v1_5_Signature
const TUidKPaddingModePkcs1_v1_5_SignatureUid
const TInt32KPaddingModeSSLv3
const TUidKPaddingModeSSLv3Uid
const TUintKPluginsConfigurationKey
const TUintKPluginsConfigurationKeyCount
const TUintKPluginsConfigurationKeyLimit
const TUidKRC2EffectiveKeyLenBits
const TUidKRSAKeyPairGeneratorUid
const TInt32KRandomInterface
const TUidKRandomInterfaceUid
const TUidKRandomUid
const TUidKRc2Uid
const TUidKRsaCipherUid
const TInt32KRsaKeyParameterD
const TInt32KRsaKeyParameterDP
const TUidKRsaKeyParameterDPUid
const TInt32KRsaKeyParameterDQ
const TUidKRsaKeyParameterDQUid
const TUidKRsaKeyParameterDUid
const TInt32KRsaKeyParameterE
const TUidKRsaKeyParameterEUid
const TInt32KRsaKeyParameterN
const TUidKRsaKeyParameterNUid
const TInt32KRsaKeyParameterP
const TUidKRsaKeyParameterPUid
const TInt32KRsaKeyParameterQ
const TInt32KRsaKeyParameterQInv
const TUidKRsaKeyParameterQInvUid
const TUidKRsaKeyParameterQUid
const TInt32KRsaKeyType
const TUidKRsaKeyTypeUid
const TInt32KRsaPrivateKeyCRT
const TUidKRsaPrivateKeyCRTUid
const TInt32KRsaPrivateKeyStandard
const TUidKRsaPrivateKeyStandardUid
const TInt32KRsaPublicKey
const TUidKRsaPublicKeyUid
const TInt32KRsaSignatureParameterS
const TUidKRsaSignatureParameterSUid
const TUidKRsaSignerUid
const TUidKRsaVerifierUid
const TUidKSha1Uid
const TUidKSha224Uid
const TUidKSha256Uid
const TUidKSha384Uid
const TUidKSha512Uid
const TInt32KSignerInterface
const TUidKSignerInterfaceUid
const TInt32KSupportedOperationModesType
const TUidKSupportedOperationModesTypeUid
const TInt32KSupportedPaddingModesType
const TUidKSupportedPaddingModesTypeUid
const TInt32KSymmetricCipherInterface
const TUidKSymmetricCipherInterfaceUid
const TInt32KSymmetricKey
const TInt32KSymmetricKeyParameter
const TUidKSymmetricKeyParameterUid
const TUidKSymmetricKeyUid
const TInt32KThroughputType
const TUidKThroughputTypeUid
const TInt32KVerifierInterface
const TUidKVerifierInterfaceUid
Public Member Enumerations
enumTPluginEntryOrdinal { EEnumerateCharacteristicsOrdinal, EGetExtendedCharacteristicOrdinal, ECreateAsymmetricCipherOrdinal, ECreateSignerOrdinal, ..., ECreateAsyncSymmetricKeyGeneratorOrdinal }
enumTRuleOperator { EOpEqual, EOpNotEqual, EOpGreaterThan, EOpLessThan, ..., EOpInvalid }
Public Member Functions
NONSHARABLE_CLASS(CAsymmetricCipher)
NONSHARABLE_CLASS(CAsymmetricCipherBase)
NONSHARABLE_CLASS(CAsymmetricCipherCharacteristics)
NONSHARABLE_CLASS(CAsymmetricSignatureCharacteristics)
NONSHARABLE_CLASS(CAsyncAsymmetricCipher)
NONSHARABLE_CLASS(CAsyncHash)
NONSHARABLE_CLASS(CAsyncKeyAgreement)
NONSHARABLE_CLASS(CAsyncKeyPairGenerator)
NONSHARABLE_CLASS(CAsyncMac)
NONSHARABLE_CLASS(CAsyncRandom)
NONSHARABLE_CLASS(CAsyncSigner)
NONSHARABLE_CLASS(CAsyncSymmetricCipher)
NONSHARABLE_CLASS(CAsyncVerifier)
NONSHARABLE_CLASS(CCharacteristicDllIndexList)
NONSHARABLE_CLASS(CCharacteristics)
NONSHARABLE_CLASS(CCharacteristicsAndPluginName)
NONSHARABLE_CLASS(CCryptoBase)
NONSHARABLE_CLASS(CCryptoBigIntParam)
NONSHARABLE_CLASS(CCryptoDesC16Param)
NONSHARABLE_CLASS(CCryptoDesC8Param)
NONSHARABLE_CLASS(CCryptoIntParam)
NONSHARABLE_CLASS(CCryptoParam)
NONSHARABLE_CLASS(CCryptoParams)
NONSHARABLE_CLASS(CCryptoPluginsLoader)
NONSHARABLE_CLASS(CCryptoSpiStateApi)
NONSHARABLE_CLASS(CExtendedCharacteristics)
NONSHARABLE_CLASS(CHash)
NONSHARABLE_CLASS(CHashCharacteristics)
NONSHARABLE_CLASS(CKey)
NONSHARABLE_CLASS(CKeyAgreement)
NONSHARABLE_CLASS(CKeyAgreementCharacteristics)
NONSHARABLE_CLASS(CKeyPair)
NONSHARABLE_CLASS(CKeyPairGenerator)
NONSHARABLE_CLASS(CKeypairGeneratorCharacteristics)
NONSHARABLE_CLASS(CLegacySelector)
NONSHARABLE_CLASS(CMac)
NONSHARABLE_CLASS(CRandom)
NONSHARABLE_CLASS(CRandomCharacteristics)
NONSHARABLE_CLASS(CRuleSelector)
NONSHARABLE_CLASS(CRulesCharacteristicsAndPluginName)
NONSHARABLE_CLASS(CSelectionRuleContent)
NONSHARABLE_CLASS(CSelectionRules)
NONSHARABLE_CLASS(CSignatureBase)
NONSHARABLE_CLASS(CSigner)
NONSHARABLE_CLASS(CSymmetricCipher)
NONSHARABLE_CLASS(CSymmetricCipherBase)
NONSHARABLE_CLASS(CSymmetricCipherCharacteristics)
NONSHARABLE_CLASS(CVerifier)

The keyagreement definition. Intended to allow plug-ins to implement extensible keyagreement functionality, and to work with all known existing keyagreement algorithms, e.g. DiffieHellman, ECDH etc. A plug-in implementing this interface should expect the private key of one of the parties to be stored in it via SetKeyL() and then the public key of the other party to be used in the call to AgreeL().

Member Type Definition Documentation

Typedef CreateAsymmetricCipherFuncL

typedef void(*CreateAsymmetricCipherFuncL
Asymmetric Cipher object Creation function

Typedef CreateHashFuncL

typedef void(*CreateHashFuncL

Deprecated

Hash object Creation function

Typedef CreateKeyAgreementFuncL

typedef void(*CreateKeyAgreementFuncL
KeyAgreement object Creation function

Typedef CreateKeyPairGeneratorFuncL

typedef void(*CreateKeyPairGeneratorFuncL
Key Pair Generator object Creation function

Typedef CreateRandomFuncL

typedef void(*CreateRandomFuncL
Random object Creation function

Typedef CreateSignerFuncL

typedef void(*CreateSignerFuncL
Signer object Creation function

Typedef CreateSymmetricCipherFuncL

typedef void(*CreateSymmetricCipherFuncL
Symmetric Cipher object Creation function

Typedef CreateVerifierFuncL

typedef void(*CreateVerifierFuncL
Verifier object Creation function

Typedef EnumerateCharacteristicsFunc

typedef const TCharacteristics **(*EnumerateCharacteristicsFunc

Crypto Plugin entry function definition The enumeration function definition

Typedef GetExtendedCharacteristicsFuncL

typedef void(*GetExtendedCharacteristicsFuncL

The Extended characteristic function definition

Typedef TCharacteristics

typedef TAny TCharacteristics

Member Attribute Documentation

K3DesUid

const TUidK3DesUid

3Des algorithm Uid

KARC4DiscardBytes

const TUidKARC4DiscardBytes

KAesUid

const TUidKAesUid

AES algorithm Uid

KAlgorithmCipher3Des

const TInt32KAlgorithmCipher3Des

KAlgorithmCipherAes

const TInt32KAlgorithmCipherAes

KAlgorithmCipherArc4

const TInt32KAlgorithmCipherArc4

KAlgorithmCipherDes

const TInt32KAlgorithmCipherDes

Definition of Symmetric Cipher algorithm UID value

KAlgorithmCipherKasumi

const TInt32KAlgorithmCipherKasumi

KAlgorithmCipherMisty1

const TInt32KAlgorithmCipherMisty1

KAlgorithmCipherMisty2

const TInt32KAlgorithmCipherMisty2

KAlgorithmCipherRc2

const TInt32KAlgorithmCipherRc2

KAlgorithmCipherRsa

const TInt32KAlgorithmCipherRsa

Definition of Asymmetric Cipher algorithm UID value

KAlgorithmDHKeyPairGenerator

const TInt32KAlgorithmDHKeyPairGenerator

Definition of Key Pair Generator algorithm UID value

KAlgorithmDSAKeyPairGenerator

const TInt32KAlgorithmDSAKeyPairGenerator

KAlgorithmHashMd2

const TInt32KAlgorithmHashMd2

Definition of Hash algorithm UID value

KAlgorithmHashMd4

const TInt32KAlgorithmHashMd4

KAlgorithmHashMd5

const TInt32KAlgorithmHashMd5

KAlgorithmHashSha1

const TInt32KAlgorithmHashSha1

KAlgorithmHashSha224

const TInt32KAlgorithmHashSha224

KAlgorithmHashSha256

const TInt32KAlgorithmHashSha256

KAlgorithmHashSha384

const TInt32KAlgorithmHashSha384

KAlgorithmHashSha512

const TInt32KAlgorithmHashSha512

KAlgorithmKeyAgreementDH

const TInt32KAlgorithmKeyAgreementDH

Definition of Key Agreement algorithm UID value

KAlgorithmRSAKeyPairGenerator

const TInt32KAlgorithmRSAKeyPairGenerator

KAlgorithmRandom

const TInt32KAlgorithmRandom

Definition of Random algorithm UID value

KAlgorithmSignerDsa

const TInt32KAlgorithmSignerDsa

KAlgorithmSignerRsa

const TInt32KAlgorithmSignerRsa

Definition of Signer algorithm UID value

KAlgorithmType

const TInt32KAlgorithmType

KAlgorithmTypeUid

const TUidKAlgorithmTypeUid

KAlgorithmVerifierDsa

const TInt32KAlgorithmVerifierDsa

KAlgorithmVerifierRsa

const TInt32KAlgorithmVerifierRsa

Definition of Verifier algorithm UID value

KArc4Uid

const TUidKArc4Uid

ARC4 algorithm Uid

KAsymmetricCipherInterface

const TInt32KAsymmetricCipherInterface

KAsymmetricCipherInterfaceUid

const TUidKAsymmetricCipherInterfaceUid

Asymmetric Cipher Interface Uid

KAsyncAsymmetricCipherInterface

const TInt32KAsyncAsymmetricCipherInterface

KAsyncAsymmetricCipherInterfaceUid

const TUidKAsyncAsymmetricCipherInterfaceUid

Asynchronous Asymmetric Cipher Interface Uid

KAsyncHashInterface

const TInt32KAsyncHashInterface

KAsyncHashInterfaceUid

const TUidKAsyncHashInterfaceUid

Asynchronous Hash Interface Uid

KAsyncKeyAgreementInterface

const TInt32KAsyncKeyAgreementInterface

KAsyncKeyAgreementInterfaceUid

const TUidKAsyncKeyAgreementInterfaceUid

Asynchronous Key Agreement Interface Uid

KAsyncKeyGeneratorInterface

const TInt32KAsyncKeyGeneratorInterface

KAsyncKeyGeneratorInterfaceUid

const TUidKAsyncKeyGeneratorInterfaceUid

Asynchronous Key generator Interface Uid

KAsyncKeypairGeneratorInterface

const TInt32KAsyncKeypairGeneratorInterface

KAsyncKeypairGeneratorInterfaceUid

const TUidKAsyncKeypairGeneratorInterfaceUid

Asynchronous Key generator Interface Uid

KAsyncRandomInterface

const TInt32KAsyncRandomInterface

KAsyncRandomInterfaceUid

const TUidKAsyncRandomInterfaceUid

Asynchronous Random Interface Uid

KAsyncSignerInterface

const TInt32KAsyncSignerInterface

KAsyncSignerInterfaceUid

const TUidKAsyncSignerInterfaceUid

Asynchronous Signer Interface Uid

KAsyncSymmetricCipherInterface

const TInt32KAsyncSymmetricCipherInterface

KAsyncSymmetricCipherInterfaceUid

const TUidKAsyncSymmetricCipherInterfaceUid

Asynchronous Symmetric Cipher Interface Uid

KAsyncVerifierInterface

const TInt32KAsyncVerifierInterface

KAsyncVerifierInterfaceUid

const TUidKAsyncVerifierInterfaceUid

Asynchronous Verifier Interface Uid

KBlockSizeType

const TInt32KBlockSizeType

KBlockSizeTypeUid

const TUidKBlockSizeTypeUid

KBlockingModeType

const TInt32KBlockingModeType

KBlockingModeTypeUid

const TUidKBlockingModeTypeUid

KConcurrencyType

const TInt32KConcurrencyType

KConcurrencyTypeUid

const TUidKConcurrencyTypeUid

KCreatorNameType

const TInt32KCreatorNameType

KCreatorNameTypeUid

const TUidKCreatorNameTypeUid

KCryptoModeDecrypt

const TInt32KCryptoModeDecrypt

KCryptoModeDecryptUid

const TUidKCryptoModeDecryptUid

Crypto Decrypt Mode Uid

KCryptoModeEncrypt

const TInt32KCryptoModeEncrypt

Definition of Cryptography mode UID value

KCryptoModeEncryptUid

const TUidKCryptoModeEncryptUid

Crypto Encrypt Mode Uid

KCryptoModeNone

const TInt32KCryptoModeNone

KCryptoModeNoneUid

const TUidKCryptoModeNoneUid

Crypto None Mode Uid

KCryptoSpiPropertyCat

const TUidKCryptoSpiPropertyCat

CryptoSpi Property Category

KDHAgreedKey

const TInt32KDHAgreedKey

KDHAgreedKeyUid

const TUidKDHAgreedKeyUid

KDHAgreementUid

const TUidKDHAgreementUid

DH Agreement algorithm Uid

KDHKeyPairGeneratorUid

const TUidKDHKeyPairGeneratorUid

DH Key Pair Generator Algorithm Uid

KDHPrivateKey

const TInt32KDHPrivateKey

KDHPrivateKeyUid

const TUidKDHPrivateKeyUid

KDHPublicKey

const TInt32KDHPublicKey

KDHPublicKeyUid

const TUidKDHPublicKeyUid

KDSAKeyPairGeneratorUid

const TUidKDSAKeyPairGeneratorUid

DSA Key Pair Generator Algorithm Uid

KDesUid

const TUidKDesUid

Des algorithm Uid

KDhKeyParameterG

const TInt32KDhKeyParameterG

KDhKeyParameterGUid

const TUidKDhKeyParameterGUid

KDhKeyParameterN

const TInt32KDhKeyParameterN

Definition of the Diffie-Hellman parameter Uid value

KDhKeyParameterNUid

const TUidKDhKeyParameterNUid

KDhKeyParameterX

const TInt32KDhKeyParameterX

KDhKeyParameterXUid

const TUidKDhKeyParameterXUid

KDhKeyParameterx

const TInt32KDhKeyParameterx

KDhKeyParameterxUid

const TUidKDhKeyParameterxUid

KDsaKeyGenerationCounter

const TInt32KDsaKeyGenerationCounter

KDsaKeyGenerationCounterUid

const TUidKDsaKeyGenerationCounterUid

KDsaKeyGenerationSeed

const TInt32KDsaKeyGenerationSeed

KDsaKeyGenerationSeedUid

const TUidKDsaKeyGenerationSeedUid

KDsaKeyParameterG

const TInt32KDsaKeyParameterG

KDsaKeyParameterGUid

const TUidKDsaKeyParameterGUid

KDsaKeyParameterP

const TInt32KDsaKeyParameterP

Definition of the Dsa key parameter Uid value

KDsaKeyParameterPUid

const TUidKDsaKeyParameterPUid

KDsaKeyParameterQ

const TInt32KDsaKeyParameterQ

KDsaKeyParameterQUid

const TUidKDsaKeyParameterQUid

KDsaKeyParameterX

const TInt32KDsaKeyParameterX

KDsaKeyParameterXUid

const TUidKDsaKeyParameterXUid

KDsaKeyParameterY

const TInt32KDsaKeyParameterY

KDsaKeyParameterYUid

const TUidKDsaKeyParameterYUid

KDsaPrivateKey

const TInt32KDsaPrivateKey

KDsaPrivateKeyUid

const TUidKDsaPrivateKeyUid

KDsaPublicKey

const TInt32KDsaPublicKey

KDsaPublicKeyUid

const TUidKDsaPublicKeyUid

KDsaSignatureParameterR

const TInt32KDsaSignatureParameterR

Definition of the DSA Signature Parameter Uid value

KDsaSignatureParameterRUid

const TUidKDsaSignatureParameterRUid

KDsaSignatureParameterS

const TInt32KDsaSignatureParameterS

KDsaSignatureParameterSUid

const TUidKDsaSignatureParameterSUid

KDsaSignerUid

const TUidKDsaSignerUid

Dsa Signer algorithm Uid

KDsaVerifierUid

const TUidKDsaVerifierUid

Dsa Signer algorithm Uid

KExclusiveUseType

const TInt32KExclusiveUseType

KExclusiveUseTypeUid

const TUidKExclusiveUseTypeUid

KExtractableKey

const TInt32KExtractableKey

KExtractableKeyUid

const TUidKExtractableKeyUid

KHashInterface

const TInt32KHashInterface

Definition of Cryptography interface UID value

KHashInterfaceUid

const TUidKHashInterfaceUid

Hash Interface Uid

KHashMode

const TInt32KHashMode

Definition of hash mode Uid value

KHashModeUid

const TUidKHashModeUid

Hash mode Uid

KHmacKey

const TInt32KHmacKey

Definition of Symmetric and Asymmetric Key Type Uid value

KHmacKeyParameter

const TInt32KHmacKeyParameter

Definition of the Hmac key parameter Uid value

KHmacKeyParameterUid

const TUidKHmacKeyParameterUid

KHmacKeyUid

const TUidKHmacKeyUid

KHmacMode

const TInt32KHmacMode

KHmacModeUid

const TUidKHmacModeUid

Hmac mode Uid

KImplementationType

const TInt32KImplementationType

KImplementationTypeUid

const TUidKImplementationTypeUid

KInterfaceType

const TInt32KInterfaceType

KInterfaceTypeUid

const TUidKInterfaceTypeUid

KInterfacesUids

const TUidKInterfacesUids

KIsFIPSApprovedType

const TInt32KIsFIPSApprovedType

KIsFIPSApprovedTypeUid

const TUidKIsFIPSApprovedTypeUid

KIsHardwareSupportedType

const TInt32KIsHardwareSupportedType

KIsHardwareSupportedTypeUid

const TUidKIsHardwareSupportedTypeUid

KKasumiUid

const TUidKKasumiUid

Kasumi algorithm Uid

KKeyAgreementInterface

const TInt32KKeyAgreementInterface

KKeyAgreementInterfaceUid

const TUidKKeyAgreementInterfaceUid

Key Agreement Interface Uid

KKeyGeneratorInterface

const TInt32KKeyGeneratorInterface

KKeyGeneratorInterfaceUid

const TUidKKeyGeneratorInterfaceUid

Key generator Interface Uid

KKeySupportModeType

const TInt32KKeySupportModeType

KKeySupportModeTypeUid

const TUidKKeySupportModeTypeUid

KKeypairGeneratorInterface

const TInt32KKeypairGeneratorInterface

KKeypairGeneratorInterfaceUid

const TUidKKeypairGeneratorInterfaceUid

Key generator Interface Uid

KLatencyType

const TInt32KLatencyType

KLatencyTypeUid

const TUidKLatencyTypeUid

KMaxConcurrencySupportedType

const TInt32KMaxConcurrencySupportedType

KMaxConcurrencySupportedTypeUid

const TUidKMaxConcurrencySupportedTypeUid

KMaximumKeyLengthType

const TInt32KMaximumKeyLengthType

KMaximumKeyLengthTypeUid

const TUidKMaximumKeyLengthTypeUid

KMd2Uid

const TUidKMd2Uid

Md2 algorithm Uid

KMd4Uid

const TUidKMd4Uid

Md4 algorithm Uid

KMd5Uid

const TUidKMd5Uid

Md5 algorithm Uid

KMisty1Uid

const TUidKMisty1Uid

Misty1 (RFC 2294) algorithm Uid

KMisty2Uid

const TUidKMisty2Uid

Misty2 algorithm Uid

KNonEmbeddedKey

const TInt32KNonEmbeddedKey

Definition of Key Attribute value

KNonEmbeddedKeyUid

const TUidKNonEmbeddedKeyUid

KNonExtractableKey

const TInt32KNonExtractableKey

KNonExtractableKeyUid

const TUidKNonExtractableKeyUid

KNoneUid

const TUidKNoneUid

The following are the characteristic UIDs which should be used for Rules-based Selector

KOperationModeCBC

const TInt32KOperationModeCBC

KOperationModeCBCUid

const TUidKOperationModeCBCUid

CBC Mode Uid

KOperationModeCFB

const TInt32KOperationModeCFB

KOperationModeCFBUid

const TUidKOperationModeCFBUid

CFB Mode Uid

KOperationModeCTR

const TInt32KOperationModeCTR

KOperationModeCTRUid

const TUidKOperationModeCTRUid

CTR Mode Uid

KOperationModeECB

const TInt32KOperationModeECB

KOperationModeECBUid

const TUidKOperationModeECBUid

ECB Mode Uid

KOperationModeNone

const TInt32KOperationModeNone

Definition of Symmetric operation mode Uid value

KOperationModeNoneUid

const TUidKOperationModeNoneUid

None Mode Uid

KOperationModeOFB

const TInt32KOperationModeOFB

KOperationModeOFBUid

const TUidKOperationModeOFBUid

OFB Mode Uid

KOutputSizeType

const TInt32KOutputSizeType

KOutputSizeTypeUid

const TUidKOutputSizeTypeUid

KPaddingInterface

const TInt32KPaddingInterface

This fake interface uid is used to allow the sub-class of CPadding to be determined via Extension_ because true RTTI is not supported.

KPaddingInterfaceUid

const TUidKPaddingInterfaceUid

KPaddingModeNone

const TInt32KPaddingModeNone

Definition of Padding mode UID value

KPaddingModeNoneUid

const TUidKPaddingModeNoneUid

Padding Mode None Uid

KPaddingModePKCS7

const TInt32KPaddingModePKCS7

KPaddingModePKCS7Uid

const TUidKPaddingModePKCS7Uid

PKCS7 Padding Mode Uid

KPaddingModePkcs1_v1_5_Encryption

const TInt32KPaddingModePkcs1_v1_5_Encryption

KPaddingModePkcs1_v1_5_EncryptionUid

const TUidKPaddingModePkcs1_v1_5_EncryptionUid

Pkcs1 v1.5 Encryption Padding mode Uid

KPaddingModePkcs1_v1_5_Signature

const TInt32KPaddingModePkcs1_v1_5_Signature

KPaddingModePkcs1_v1_5_SignatureUid

const TUidKPaddingModePkcs1_v1_5_SignatureUid

Pkcs1 v1.5 Signature Padding mode Uid

KPaddingModeSSLv3

const TInt32KPaddingModeSSLv3

KPaddingModeSSLv3Uid

const TUidKPaddingModeSSLv3Uid

SSLv3 Padding Mode Uid

KPluginsConfigurationKey

const TUintKPluginsConfigurationKey

The start of plugin dll name key

KPluginsConfigurationKeyCount

const TUintKPluginsConfigurationKeyCount

The key for the number of plugin dlls

KPluginsConfigurationKeyLimit

const TUintKPluginsConfigurationKeyLimit

The maximum number of plugins in the configuartion file

KRC2EffectiveKeyLenBits

const TUidKRC2EffectiveKeyLenBits

KRSAKeyPairGeneratorUid

const TUidKRSAKeyPairGeneratorUid

RSA Key Pair Generator Algorithm Uid

KRandomInterface

const TInt32KRandomInterface

KRandomInterfaceUid

const TUidKRandomInterfaceUid

Random Interface Uid

KRandomUid

const TUidKRandomUid

Random algorithm Uid

KRc2Uid

const TUidKRc2Uid

RC2 algorithm Uid

KRsaCipherUid

const TUidKRsaCipherUid

Rsa Cipher algorithm Uid

KRsaKeyParameterD

const TInt32KRsaKeyParameterD

KRsaKeyParameterDP

const TInt32KRsaKeyParameterDP

KRsaKeyParameterDPUid

const TUidKRsaKeyParameterDPUid

KRsaKeyParameterDQ

const TInt32KRsaKeyParameterDQ

KRsaKeyParameterDQUid

const TUidKRsaKeyParameterDQUid

KRsaKeyParameterDUid

const TUidKRsaKeyParameterDUid

KRsaKeyParameterE

const TInt32KRsaKeyParameterE

KRsaKeyParameterEUid

const TUidKRsaKeyParameterEUid

KRsaKeyParameterN

const TInt32KRsaKeyParameterN

Definition of the RSA cipher parameter Uid value

KRsaKeyParameterNUid

const TUidKRsaKeyParameterNUid

KRsaKeyParameterP

const TInt32KRsaKeyParameterP

KRsaKeyParameterPUid

const TUidKRsaKeyParameterPUid

KRsaKeyParameterQ

const TInt32KRsaKeyParameterQ

KRsaKeyParameterQInv

const TInt32KRsaKeyParameterQInv

KRsaKeyParameterQInvUid

const TUidKRsaKeyParameterQInvUid

KRsaKeyParameterQUid

const TUidKRsaKeyParameterQUid

KRsaKeyType

const TInt32KRsaKeyType

Definition of the key type uid

KRsaKeyTypeUid

const TUidKRsaKeyTypeUid

KRsaPrivateKeyCRT

const TInt32KRsaPrivateKeyCRT

KRsaPrivateKeyCRTUid

const TUidKRsaPrivateKeyCRTUid

KRsaPrivateKeyStandard

const TInt32KRsaPrivateKeyStandard

KRsaPrivateKeyStandardUid

const TUidKRsaPrivateKeyStandardUid

KRsaPublicKey

const TInt32KRsaPublicKey

KRsaPublicKeyUid

const TUidKRsaPublicKeyUid

KRsaSignatureParameterS

const TInt32KRsaSignatureParameterS

Definition of the RSA Signature Parameter Uid value

KRsaSignatureParameterSUid

const TUidKRsaSignatureParameterSUid

KRsaSignerUid

const TUidKRsaSignerUid

Rsa Signer algorithm Uid

KRsaVerifierUid

const TUidKRsaVerifierUid

Rsa Veifier algorithm Uid

KSha1Uid

const TUidKSha1Uid

Sha1 algorithm Uid

KSha224Uid

const TUidKSha224Uid

Sha224 algorithm Uid

KSha256Uid

const TUidKSha256Uid

Sha256 algorithm Uid

KSha384Uid

const TUidKSha384Uid

Sha384 algorithm Uid

KSha512Uid

const TUidKSha512Uid

Sha512 algorithm Uid

KSignerInterface

const TInt32KSignerInterface

KSignerInterfaceUid

const TUidKSignerInterfaceUid

Signer Interface Uid

KSupportedOperationModesType

const TInt32KSupportedOperationModesType

KSupportedOperationModesTypeUid

const TUidKSupportedOperationModesTypeUid

KSupportedPaddingModesType

const TInt32KSupportedPaddingModesType

KSupportedPaddingModesTypeUid

const TUidKSupportedPaddingModesTypeUid

KSymmetricCipherInterface

const TInt32KSymmetricCipherInterface

KSymmetricCipherInterfaceUid

const TUidKSymmetricCipherInterfaceUid

Symmetric Cipher Interface Uid

KSymmetricKey

const TInt32KSymmetricKey

KSymmetricKeyParameter

const TInt32KSymmetricKeyParameter

Definition of the Symmetric key parameter Uid value

KSymmetricKeyParameterUid

const TUidKSymmetricKeyParameterUid

KSymmetricKeyUid

const TUidKSymmetricKeyUid

KThroughputType

const TInt32KThroughputType

KThroughputTypeUid

const TUidKThroughputTypeUid

KVerifierInterface

const TInt32KVerifierInterface

KVerifierInterfaceUid

const TUidKVerifierInterfaceUid

Verifier Interface Uid

Member Enumeration Documentation

Enum TPluginEntryOrdinal

Crypto plugin entry points ordinals in the plugin DLLs

EnumeratorValueDescription
EEnumerateCharacteristicsOrdinal1

Enumeration function ordinal

EGetExtendedCharacteristicOrdinal2

Get Extended Characteristic function ordinal

ECreateAsymmetricCipherOrdinal3

Asymmetric Cipher creation function ordinal

ECreateSignerOrdinal4

Signer creation function ordinal

ECreateVerifierOrdinal5

Verifier creation function ordinal

ECreateHashOrdinal6

Hash creation function ordinal

ECreateKeyAgreementOrdinal7

Key agreement creation function ordinal

ECreateKeyPairGeneratorOrdinal8

Key Pair Generator creation function ordinal

ECreateRandomOrdinal9

Random creation function ordinal

ECreateSymmetricCipherOrdinal10

Symmetric Cipher creation function ordinal

ECreateSymmetricKeyGeneratorOrdinal11

Symmetric key generator creation function ordinal

ECreateAsyncAsymmetricCipherOrdinal12

Asynchronous Asymmetric Cipher creation function ordinal

ECreateAsyncSignerOrdinal13

Asynchronous Signer creation function ordinal

ECreateAsyncVerifierOrdinal14

Asynchronous Verifier creation function ordinal

ECreateAsyncHashOrdinal15

Asynchronous Hash creation function ordinal

ECreateAsyncKeyAgreementOrdinal16

Asynchronous Key agreement creation function ordinal

ECreateAsyncKeyPairGeneratorOrdinal17

Asynchronous Key Pair Generator creation function ordinal

ECreateAsyncRandomOrdinal18

Asynchronous Random creation function ordinal

ECreateAsyncSymmetricCipherOrdinal19

Asynchronous Symmetric Cipher creation function ordinal

ECreateAsyncSymmetricKeyGeneratorOrdinal20

Asynchronous Symmetric key generator creation function ordinal

Enum TRuleOperator

The operators of the plugin selection rule

EnumeratorValueDescription
EOpEqual

Operator ==

EOpNotEqual

Operator !=

EOpGreaterThan

Operator >

EOpLessThan

Operator <

EOpGreaterThanOrEqual

Operator >=

EOpLessThanOrEqual

Operator <=

EOpAscendingSort

Ascending Sort of an characteristic

EOpDescendingSort

Descending Sort of an characteristic

EOpInvalid

The total number of operators

Member Function Documentation

NONSHARABLE_CLASS ( CAsymmetricCipher )

NONSHARABLE_CLASS(CAsymmetricCipher)

Synchronous asymmetric cipher API, which wraps a synchronous asymmetric plugin implementation

NONSHARABLE_CLASS ( CAsymmetricCipherBase )

NONSHARABLE_CLASS(CAsymmetricCipherBase)

Asymmetric Cipher API base class

NONSHARABLE_CLASS ( CAsymmetricCipherCharacteristics )

NONSHARABLE_CLASS(CAsymmetricCipherCharacteristics)

The class holds the asymmetric cipher characteristics. which is used for internalization.

NONSHARABLE_CLASS ( CAsymmetricSignatureCharacteristics )

NONSHARABLE_CLASS(CAsymmetricSignatureCharacteristics)

The class holds the signature characteristics. which is used for internalization.

NONSHARABLE_CLASS ( CAsyncAsymmetricCipher )

NONSHARABLE_CLASS(CAsyncAsymmetricCipher)

Asynchronous asymmetric cipher API, which wraps a Asynchronous asymmetric plugin implementation

NONSHARABLE_CLASS ( CAsyncHash )

NONSHARABLE_CLASS(CAsyncHash)

Asynchronous Hash API, which wraps an asynchronous Hash plugin implementation

NONSHARABLE_CLASS ( CAsyncKeyAgreement )

NONSHARABLE_CLASS(CAsyncKeyAgreement)

Asynchronous Key Agreement, which wraps a asynchronous Key Agreement plugin implementation

NONSHARABLE_CLASS ( CAsyncKeyPairGenerator )

NONSHARABLE_CLASS(CAsyncKeyPairGenerator)

Asynchronous Key pair generator, which wraps a asynchronous Key pair generator plugin implementation

NONSHARABLE_CLASS ( CAsyncMac )

NONSHARABLE_CLASS(CAsyncMac)

This is the asynchronous version of CMac class typically used by the client applications if hardware plug-in implementation of the MAC interface is present.

NONSHARABLE_CLASS ( CAsyncRandom )

NONSHARABLE_CLASS(CAsyncRandom)

Asynchronous Random API, which wraps an asynchronous Random plugin implementation

NONSHARABLE_CLASS ( CAsyncSigner )

NONSHARABLE_CLASS(CAsyncSigner)

Asynchronous signer API, which wraps an asynchronous signer plugin implementation

NONSHARABLE_CLASS ( CAsyncSymmetricCipher )

NONSHARABLE_CLASS(CAsyncSymmetricCipher)

Async Symmetric Cipher API, which wraps an asynchronous Symmetric Cipher plugin implementation

NONSHARABLE_CLASS ( CAsyncVerifier )

NONSHARABLE_CLASS(CAsyncVerifier)

Asynchronous verfier API, which wraps a asynchronous verifier plugin implementation

NONSHARABLE_CLASS ( CCharacteristicDllIndexList )

NONSHARABLE_CLASS(CCharacteristicDllIndexList)

The class contains a list of characteristics-DllIndex pair. which is used for externalization.

NONSHARABLE_CLASS ( CCharacteristics )

NONSHARABLE_CLASS(CCharacteristics)

The class holds the common characteristics of an interface. which is used for internalization.

NONSHARABLE_CLASS ( CCharacteristicsAndPluginName )

NONSHARABLE_CLASS(CCharacteristicsAndPluginName)

The class holds characteristics and dll index. which is used for internalization.

NONSHARABLE_CLASS ( CCryptoBase )

NONSHARABLE_CLASS(CCryptoBase)

NONSHARABLE_CLASS ( CCryptoBigIntParam )

NONSHARABLE_CLASS(CCryptoBigIntParam)

Crypto param class the wraps an RInteger

NONSHARABLE_CLASS ( CCryptoDesC16Param )

NONSHARABLE_CLASS(CCryptoDesC16Param)

Crypto param class that wraps an 16-bit constant descriptor

NONSHARABLE_CLASS ( CCryptoDesC8Param )

NONSHARABLE_CLASS(CCryptoDesC8Param)

Crypto param class that wraps an 8-bit constant descriptor

NONSHARABLE_CLASS ( CCryptoIntParam )

NONSHARABLE_CLASS(CCryptoIntParam)

CryptoParam class that wraps a TInt

NONSHARABLE_CLASS ( CCryptoParam )

NONSHARABLE_CLASS(CCryptoParam)

Abstract base class for generic crypto parameters to enable plug-in specific parameters and the externalisation of plug-ins. The type of the sub-class is identified by the GetType method.

All sub-class contain copies of (instead of references to) the supplied values.

NONSHARABLE_CLASS ( CCryptoParams )

NONSHARABLE_CLASS(CCryptoParams)

NONSHARABLE_CLASS ( CCryptoPluginsLoader )

NONSHARABLE_CLASS(CCryptoPluginsLoader)

This class loads all the plugins, build all the characteristics, and publish the properties for crypto spi.

NONSHARABLE_CLASS ( CCryptoSpiStateApi )

NONSHARABLE_CLASS(CCryptoSpiStateApi)

The class provides the APIs to set and unset the rule-based selector.

NONSHARABLE_CLASS ( CExtendedCharacteristics )

NONSHARABLE_CLASS(CExtendedCharacteristics)

The characteristics associated with the plugin implementation

NONSHARABLE_CLASS ( CHash )

NONSHARABLE_CLASS(CHash)

Hash API, which wraps a synchronous Hash plugin implementation

NONSHARABLE_CLASS ( CHashCharacteristics )

NONSHARABLE_CLASS(CHashCharacteristics)

The class holds the hash characteristics. which is used for internalization.

NONSHARABLE_CLASS ( CKey )

NONSHARABLE_CLASS(CKey)

The key definition

NONSHARABLE_CLASS ( CKeyAgreement )

NONSHARABLE_CLASS(CKeyAgreement)

Synchronous Key Agreement, which wraps a synchronous Key Agreement plugin implementation

NONSHARABLE_CLASS ( CKeyAgreementCharacteristics )

NONSHARABLE_CLASS(CKeyAgreementCharacteristics)

The class holds the key agreement characteristics. which is used for internalization.

NONSHARABLE_CLASS ( CKeyPair )

NONSHARABLE_CLASS(CKeyPair)

The Asymmetric Key Pair Definition

NONSHARABLE_CLASS ( CKeyPairGenerator )

NONSHARABLE_CLASS(CKeyPairGenerator)

Synchronous Key pair generator, which wraps a synchronous Key pair generator plugin implementation

NONSHARABLE_CLASS ( CKeypairGeneratorCharacteristics )

NONSHARABLE_CLASS(CKeypairGeneratorCharacteristics)

The class holds the key pair generator characteristics. which is used for internalization.

NONSHARABLE_CLASS ( CLegacySelector )

NONSHARABLE_CLASS(CLegacySelector)

NONSHARABLE_CLASS ( CMac )

NONSHARABLE_CLASS(CMac)

Mac API, which wraps a synchronous Mac plugin implementation This Mac interface helps the client application to get the message authentication code value of a given message which provides data integrity and data origin authentication. These two goals are dependent upon the scope of the distribution of the secret key.

NONSHARABLE_CLASS ( CRandom )

NONSHARABLE_CLASS(CRandom)

Synchronous Random API, which wraps a synchronous Random plugin implementation

NONSHARABLE_CLASS ( CRandomCharacteristics )

NONSHARABLE_CLASS(CRandomCharacteristics)

The class holds the random characteristics. which is used for internalization.

NONSHARABLE_CLASS ( CRuleSelector )

NONSHARABLE_CLASS(CRuleSelector)

Selector apply the rule-based selection to find the plugin.

NONSHARABLE_CLASS ( CRulesCharacteristicsAndPluginName )

NONSHARABLE_CLASS(CRulesCharacteristicsAndPluginName)

The class holds characteristics and dll index.

NONSHARABLE_CLASS ( CSelectionRuleContent )

NONSHARABLE_CLASS(CSelectionRuleContent)

A single plugin selection rule definition

NONSHARABLE_CLASS ( CSelectionRules )

NONSHARABLE_CLASS(CSelectionRules)

Definition of rule-based plugin selection rules

NONSHARABLE_CLASS ( CSignatureBase )

NONSHARABLE_CLASS(CSignatureBase)

Base class for signer and verifier

NONSHARABLE_CLASS ( CSigner )

NONSHARABLE_CLASS(CSigner)

Synchronous signer API, which wraps a synchronous signer plugin implementation

NONSHARABLE_CLASS ( CSymmetricCipher )

NONSHARABLE_CLASS(CSymmetricCipher)

Symmetric Cipher API, which wraps a synchronous Symmetric Cipher plugin implementation

NONSHARABLE_CLASS ( CSymmetricCipherBase )

NONSHARABLE_CLASS(CSymmetricCipherBase)

NONSHARABLE_CLASS ( CSymmetricCipherCharacteristics )

NONSHARABLE_CLASS(CSymmetricCipherCharacteristics)

The class holds the symmetric cipher characteristics. which is used for internalization.

NONSHARABLE_CLASS ( CVerifier )

NONSHARABLE_CLASS(CVerifier)

Synchronous verifier API, which wraps a synchronous verifier plugin implementation

Member Class/Struct/Union/Namespaces