Public Member Type Definitions | |
---|---|
typedef | void(* CreateAsymmetricCipherFuncL |
typedef | void(* CreateHashFuncL |
typedef | void(* CreateKeyAgreementFuncL |
typedef | void(* CreateKeyPairGeneratorFuncL |
typedef | void(* CreateRandomFuncL |
typedef | void(* CreateSignerFuncL |
typedef | void(* CreateSymmetricCipherFuncL |
typedef | void(* CreateVerifierFuncL |
typedef | const TCharacteristics **(* EnumerateCharacteristicsFunc |
typedef | void(* GetExtendedCharacteristicsFuncL |
typedef | TAny TCharacteristics |
Public Member Enumerations | |
---|---|
enum | TPluginEntryOrdinal { EEnumerateCharacteristicsOrdinal, EGetExtendedCharacteristicOrdinal, ECreateAsymmetricCipherOrdinal, ECreateSignerOrdinal, ..., ECreateAsyncSymmetricKeyGeneratorOrdinal } |
enum | TRuleOperator { 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().
typedef void(* | CreateAsymmetricCipherFuncL |
typedef void(* | CreateKeyAgreementFuncL |
typedef void(* | CreateKeyPairGeneratorFuncL |
typedef void(* | CreateSymmetricCipherFuncL |
typedef const TCharacteristics **(* | EnumerateCharacteristicsFunc |
Crypto Plugin entry function definition The enumeration function definition
typedef void(* | GetExtendedCharacteristicsFuncL |
The Extended characteristic function definition
typedef TAny | TCharacteristics |
const TUid | KARC4DiscardBytes |
const TInt32 | KAlgorithmCipher3Des |
const TInt32 | KAlgorithmCipherAes |
const TInt32 | KAlgorithmCipherArc4 |
const TInt32 | KAlgorithmCipherDes |
Definition of Symmetric Cipher algorithm UID value
const TInt32 | KAlgorithmCipherKasumi |
const TInt32 | KAlgorithmCipherMisty1 |
const TInt32 | KAlgorithmCipherMisty2 |
const TInt32 | KAlgorithmCipherRc2 |
const TInt32 | KAlgorithmCipherRsa |
Definition of Asymmetric Cipher algorithm UID value
const TInt32 | KAlgorithmDHKeyPairGenerator |
Definition of Key Pair Generator algorithm UID value
const TInt32 | KAlgorithmDSAKeyPairGenerator |
const TInt32 | KAlgorithmHashMd4 |
const TInt32 | KAlgorithmHashMd5 |
const TInt32 | KAlgorithmHashSha1 |
const TInt32 | KAlgorithmHashSha224 |
const TInt32 | KAlgorithmHashSha256 |
const TInt32 | KAlgorithmHashSha384 |
const TInt32 | KAlgorithmHashSha512 |
const TInt32 | KAlgorithmKeyAgreementDH |
Definition of Key Agreement algorithm UID value
const TInt32 | KAlgorithmRSAKeyPairGenerator |
const TInt32 | KAlgorithmSignerDsa |
const TInt32 | KAlgorithmType |
const TUid | KAlgorithmTypeUid |
const TInt32 | KAlgorithmVerifierDsa |
const TInt32 | KAsymmetricCipherInterface |
const TUid | KAsymmetricCipherInterfaceUid |
Asymmetric Cipher Interface Uid
const TInt32 | KAsyncAsymmetricCipherInterface |
const TUid | KAsyncAsymmetricCipherInterfaceUid |
Asynchronous Asymmetric Cipher Interface Uid
const TInt32 | KAsyncHashInterface |
const TInt32 | KAsyncKeyAgreementInterface |
const TUid | KAsyncKeyAgreementInterfaceUid |
Asynchronous Key Agreement Interface Uid
const TInt32 | KAsyncKeyGeneratorInterface |
const TUid | KAsyncKeyGeneratorInterfaceUid |
Asynchronous Key generator Interface Uid
const TInt32 | KAsyncKeypairGeneratorInterface |
const TUid | KAsyncKeypairGeneratorInterfaceUid |
Asynchronous Key generator Interface Uid
const TInt32 | KAsyncRandomInterface |
const TInt32 | KAsyncSignerInterface |
const TInt32 | KAsyncSymmetricCipherInterface |
const TUid | KAsyncSymmetricCipherInterfaceUid |
Asynchronous Symmetric Cipher Interface Uid
const TInt32 | KAsyncVerifierInterface |
const TInt32 | KBlockSizeType |
const TUid | KBlockSizeTypeUid |
const TInt32 | KBlockingModeType |
const TUid | KBlockingModeTypeUid |
const TInt32 | KConcurrencyType |
const TUid | KConcurrencyTypeUid |
const TInt32 | KCreatorNameType |
const TUid | KCreatorNameTypeUid |
const TInt32 | KCryptoModeDecrypt |
const TInt32 | KCryptoModeNone |
const TInt32 | KDHAgreedKey |
const TUid | KDHAgreedKeyUid |
const TInt32 | KDHPrivateKey |
const TUid | KDHPrivateKeyUid |
const TInt32 | KDHPublicKey |
const TUid | KDHPublicKeyUid |
const TInt32 | KDhKeyParameterG |
const TUid | KDhKeyParameterGUid |
const TUid | KDhKeyParameterNUid |
const TInt32 | KDhKeyParameterX |
const TUid | KDhKeyParameterXUid |
const TInt32 | KDhKeyParameterx |
const TUid | KDhKeyParameterxUid |
const TInt32 | KDsaKeyGenerationCounter |
const TUid | KDsaKeyGenerationCounterUid |
const TInt32 | KDsaKeyGenerationSeed |
const TUid | KDsaKeyGenerationSeedUid |
const TInt32 | KDsaKeyParameterG |
const TUid | KDsaKeyParameterGUid |
const TUid | KDsaKeyParameterPUid |
const TInt32 | KDsaKeyParameterQ |
const TUid | KDsaKeyParameterQUid |
const TInt32 | KDsaKeyParameterX |
const TUid | KDsaKeyParameterXUid |
const TInt32 | KDsaKeyParameterY |
const TUid | KDsaKeyParameterYUid |
const TInt32 | KDsaPrivateKey |
const TUid | KDsaPrivateKeyUid |
const TInt32 | KDsaPublicKey |
const TUid | KDsaPublicKeyUid |
const TInt32 | KDsaSignatureParameterR |
Definition of the DSA Signature Parameter Uid value
const TUid | KDsaSignatureParameterRUid |
const TInt32 | KDsaSignatureParameterS |
const TUid | KDsaSignatureParameterSUid |
const TInt32 | KExclusiveUseType |
const TUid | KExclusiveUseTypeUid |
const TInt32 | KExtractableKey |
const TUid | KExtractableKeyUid |
const TUid | KHmacKeyParameterUid |
const TUid | KHmacKeyUid |
const TInt32 | KHmacMode |
const TInt32 | KImplementationType |
const TUid | KImplementationTypeUid |
const TInt32 | KInterfaceType |
const TUid | KInterfaceTypeUid |
const TUid | KInterfacesUids |
const TInt32 | KIsFIPSApprovedType |
const TUid | KIsFIPSApprovedTypeUid |
const TInt32 | KIsHardwareSupportedType |
const TUid | KIsHardwareSupportedTypeUid |
const TInt32 | KKeyAgreementInterface |
const TInt32 | KKeyGeneratorInterface |
const TInt32 | KKeySupportModeType |
const TUid | KKeySupportModeTypeUid |
const TInt32 | KKeypairGeneratorInterface |
const TInt32 | KLatencyType |
const TUid | KLatencyTypeUid |
const TInt32 | KMaxConcurrencySupportedType |
const TUid | KMaxConcurrencySupportedTypeUid |
const TInt32 | KMaximumKeyLengthType |
const TUid | KMaximumKeyLengthTypeUid |
const TUid | KNonEmbeddedKeyUid |
const TInt32 | KNonExtractableKey |
const TUid | KNonExtractableKeyUid |
const TUid | KNoneUid |
The following are the characteristic UIDs which should be used for Rules-based Selector
const TInt32 | KOperationModeCBC |
const TInt32 | KOperationModeCFB |
const TInt32 | KOperationModeCTR |
const TInt32 | KOperationModeECB |
const TInt32 | KOperationModeOFB |
const TInt32 | KOutputSizeType |
const TUid | KOutputSizeTypeUid |
const TInt32 | KPaddingInterface |
This fake interface uid is used to allow the sub-class of CPadding to be determined via Extension_ because true RTTI is not supported.
const TUid | KPaddingInterfaceUid |
const TInt32 | KPaddingModePKCS7 |
const TInt32 | KPaddingModePkcs1_v1_5_Encryption |
const TUid | KPaddingModePkcs1_v1_5_EncryptionUid |
Pkcs1 v1.5 Encryption Padding mode Uid
const TInt32 | KPaddingModePkcs1_v1_5_Signature |
const TUid | KPaddingModePkcs1_v1_5_SignatureUid |
Pkcs1 v1.5 Signature Padding mode Uid
const TInt32 | KPaddingModeSSLv3 |
const TUint | KPluginsConfigurationKeyCount |
The key for the number of plugin dlls
const TUint | KPluginsConfigurationKeyLimit |
The maximum number of plugins in the configuartion file
const TUid | KRC2EffectiveKeyLenBits |
const TInt32 | KRandomInterface |
const TInt32 | KRsaKeyParameterD |
const TInt32 | KRsaKeyParameterDP |
const TUid | KRsaKeyParameterDPUid |
const TInt32 | KRsaKeyParameterDQ |
const TUid | KRsaKeyParameterDQUid |
const TUid | KRsaKeyParameterDUid |
const TInt32 | KRsaKeyParameterE |
const TUid | KRsaKeyParameterEUid |
const TUid | KRsaKeyParameterNUid |
const TInt32 | KRsaKeyParameterP |
const TUid | KRsaKeyParameterPUid |
const TInt32 | KRsaKeyParameterQ |
const TInt32 | KRsaKeyParameterQInv |
const TUid | KRsaKeyParameterQInvUid |
const TUid | KRsaKeyParameterQUid |
const TUid | KRsaKeyTypeUid |
const TInt32 | KRsaPrivateKeyCRT |
const TUid | KRsaPrivateKeyCRTUid |
const TInt32 | KRsaPrivateKeyStandard |
const TUid | KRsaPrivateKeyStandardUid |
const TInt32 | KRsaPublicKey |
const TUid | KRsaPublicKeyUid |
const TInt32 | KRsaSignatureParameterS |
Definition of the RSA Signature Parameter Uid value
const TUid | KRsaSignatureParameterSUid |
const TInt32 | KSignerInterface |
const TInt32 | KSupportedOperationModesType |
const TUid | KSupportedOperationModesTypeUid |
const TInt32 | KSupportedPaddingModesType |
const TUid | KSupportedPaddingModesTypeUid |
const TInt32 | KSymmetricCipherInterface |
const TInt32 | KSymmetricKey |
const TInt32 | KSymmetricKeyParameter |
Definition of the Symmetric key parameter Uid value
const TUid | KSymmetricKeyParameterUid |
const TUid | KSymmetricKeyUid |
const TInt32 | KThroughputType |
const TUid | KThroughputTypeUid |
const TInt32 | KVerifierInterface |
Crypto plugin entry points ordinals in the plugin DLLs
Enumerator | Value | Description |
---|---|---|
EEnumerateCharacteristicsOrdinal | 1 |
Enumeration function ordinal |
EGetExtendedCharacteristicOrdinal | 2 |
Get Extended Characteristic function ordinal |
ECreateAsymmetricCipherOrdinal | 3 |
Asymmetric Cipher creation function ordinal |
ECreateSignerOrdinal | 4 |
Signer creation function ordinal |
ECreateVerifierOrdinal | 5 |
Verifier creation function ordinal |
ECreateHashOrdinal | 6 |
Hash creation function ordinal |
ECreateKeyAgreementOrdinal | 7 |
Key agreement creation function ordinal |
ECreateKeyPairGeneratorOrdinal | 8 |
Key Pair Generator creation function ordinal |
ECreateRandomOrdinal | 9 |
Random creation function ordinal |
ECreateSymmetricCipherOrdinal | 10 |
Symmetric Cipher creation function ordinal |
ECreateSymmetricKeyGeneratorOrdinal | 11 |
Symmetric key generator creation function ordinal |
ECreateAsyncAsymmetricCipherOrdinal | 12 |
Asynchronous Asymmetric Cipher creation function ordinal |
ECreateAsyncSignerOrdinal | 13 |
Asynchronous Signer creation function ordinal |
ECreateAsyncVerifierOrdinal | 14 |
Asynchronous Verifier creation function ordinal |
ECreateAsyncHashOrdinal | 15 |
Asynchronous Hash creation function ordinal |
ECreateAsyncKeyAgreementOrdinal | 16 |
Asynchronous Key agreement creation function ordinal |
ECreateAsyncKeyPairGeneratorOrdinal | 17 |
Asynchronous Key Pair Generator creation function ordinal |
ECreateAsyncRandomOrdinal | 18 |
Asynchronous Random creation function ordinal |
ECreateAsyncSymmetricCipherOrdinal | 19 |
Asynchronous Symmetric Cipher creation function ordinal |
ECreateAsyncSymmetricKeyGeneratorOrdinal | 20 |
Asynchronous Symmetric key generator creation function ordinal |
The operators of the plugin selection rule
Enumerator | Value | Description |
---|---|---|
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 |
NONSHARABLE_CLASS | ( | CAsymmetricCipher | ) |
Synchronous asymmetric cipher API, which wraps a synchronous asymmetric plugin implementation
NONSHARABLE_CLASS | ( | CAsymmetricCipherBase | ) |
Asymmetric Cipher API base class
NONSHARABLE_CLASS | ( | CAsymmetricCipherCharacteristics | ) |
The class holds the asymmetric cipher characteristics. which is used for internalization.
NONSHARABLE_CLASS | ( | CAsymmetricSignatureCharacteristics | ) |
The class holds the signature characteristics. which is used for internalization.
NONSHARABLE_CLASS | ( | CAsyncAsymmetricCipher | ) |
Asynchronous asymmetric cipher API, which wraps a Asynchronous asymmetric plugin implementation
NONSHARABLE_CLASS | ( | CAsyncHash | ) |
Asynchronous Hash API, which wraps an asynchronous Hash plugin implementation
NONSHARABLE_CLASS | ( | CAsyncKeyAgreement | ) |
Asynchronous Key Agreement, which wraps a asynchronous Key Agreement plugin implementation
NONSHARABLE_CLASS | ( | CAsyncKeyPairGenerator | ) |
Asynchronous Key pair generator, which wraps a asynchronous Key pair generator plugin implementation
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 | ) |
Asynchronous Random API, which wraps an asynchronous Random plugin implementation
NONSHARABLE_CLASS | ( | CAsyncSigner | ) |
Asynchronous signer API, which wraps an asynchronous signer plugin implementation
NONSHARABLE_CLASS | ( | CAsyncSymmetricCipher | ) |
Async Symmetric Cipher API, which wraps an asynchronous Symmetric Cipher plugin implementation
NONSHARABLE_CLASS | ( | CAsyncVerifier | ) |
Asynchronous verfier API, which wraps a asynchronous verifier plugin implementation
NONSHARABLE_CLASS | ( | CCharacteristicDllIndexList | ) |
The class contains a list of characteristics-DllIndex pair. which is used for externalization.
NONSHARABLE_CLASS | ( | CCharacteristics | ) |
The class holds the common characteristics of an interface. which is used for internalization.
NONSHARABLE_CLASS | ( | CCharacteristicsAndPluginName | ) |
The class holds characteristics and dll index. which is used for internalization.
NONSHARABLE_CLASS | ( | CCryptoBase | ) |
NONSHARABLE_CLASS | ( | CCryptoDesC16Param | ) |
Crypto param class that wraps an 16-bit constant descriptor
NONSHARABLE_CLASS | ( | CCryptoDesC8Param | ) |
Crypto param class that wraps an 8-bit constant descriptor
NONSHARABLE_CLASS | ( | CCryptoIntParam | ) |
CryptoParam class that wraps a TInt
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 | ( | CCryptoPluginsLoader | ) |
This class loads all the plugins, build all the characteristics, and publish the properties for crypto spi.
NONSHARABLE_CLASS | ( | CCryptoSpiStateApi | ) |
The class provides the APIs to set and unset the rule-based selector.
NONSHARABLE_CLASS | ( | CExtendedCharacteristics | ) |
The characteristics associated with the plugin implementation
NONSHARABLE_CLASS | ( | CHash | ) |
Hash API, which wraps a synchronous Hash plugin implementation
NONSHARABLE_CLASS | ( | CHashCharacteristics | ) |
The class holds the hash characteristics. which is used for internalization.
NONSHARABLE_CLASS | ( | CKey | ) |
The key definition
NONSHARABLE_CLASS | ( | CKeyAgreement | ) |
Synchronous Key Agreement, which wraps a synchronous Key Agreement plugin implementation
NONSHARABLE_CLASS | ( | CKeyAgreementCharacteristics | ) |
The class holds the key agreement characteristics. which is used for internalization.
NONSHARABLE_CLASS | ( | CKeyPair | ) |
The Asymmetric Key Pair Definition
NONSHARABLE_CLASS | ( | CKeyPairGenerator | ) |
Synchronous Key pair generator, which wraps a synchronous Key pair generator plugin implementation
NONSHARABLE_CLASS | ( | CKeypairGeneratorCharacteristics | ) |
The class holds the key pair generator characteristics. which is used for internalization.
NONSHARABLE_CLASS | ( | CLegacySelector | ) |
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 | ) |
Synchronous Random API, which wraps a synchronous Random plugin implementation
NONSHARABLE_CLASS | ( | CRandomCharacteristics | ) |
The class holds the random characteristics. which is used for internalization.
NONSHARABLE_CLASS | ( | CRuleSelector | ) |
Selector apply the rule-based selection to find the plugin.
NONSHARABLE_CLASS | ( | CRulesCharacteristicsAndPluginName | ) |
The class holds characteristics and dll index.
NONSHARABLE_CLASS | ( | CSelectionRuleContent | ) |
A single plugin selection rule definition
NONSHARABLE_CLASS | ( | CSelectionRules | ) |
Definition of rule-based plugin selection rules
NONSHARABLE_CLASS | ( | CSignatureBase | ) |
Base class for signer and verifier
NONSHARABLE_CLASS | ( | CSigner | ) |
Synchronous signer API, which wraps a synchronous signer plugin implementation
NONSHARABLE_CLASS | ( | CSymmetricCipher | ) |
Symmetric Cipher API, which wraps a synchronous Symmetric Cipher plugin implementation
NONSHARABLE_CLASS | ( | CSymmetricCipherBase | ) |
NONSHARABLE_CLASS | ( | CSymmetricCipherCharacteristics | ) |
The class holds the symmetric cipher characteristics. which is used for internalization.
NONSHARABLE_CLASS | ( | CVerifier | ) |
Synchronous verifier API, which wraps a synchronous verifier plugin implementation