| class CryptoSpi::CAsymmetricCipherFactory |
the Factory to create synchronous and asynchronous asymmetric cipher instance
| Public Member Functions | |
|---|---|
| IMPORT_C void | CreateAsymmetricCipherL (CAsymmetricCipher *&, TUid , const CKey &, TUid , TUid , const CCryptoParams *) |
| IMPORT_C void | CreateAsyncAsymmetricCipherL (CAsyncAsymmetricCipher *&, TUid , const CKey &, TUid , TUid , const CCryptoParams *) |
| IMPORT_C void | CreateAsymmetricCipherL | ( | CAsymmetricCipher *& | aCipher, |
| TUid | aAlgorithmUid, | |||
| const CKey & | aKey, | |||
| TUid | aCryptoMode, | |||
| TUid | aPaddingMode, | |||
| const CCryptoParams * | aAlgorithmParams | |||
| ) | [static] | |||
Creates a new instance of an asymmetric cipher
| CAsymmetricCipher *& aCipher | A reference to a pointer that should be set to point to the new asymmetric cipher object. |
| TUid aAlgorithmUid | The asymmetric cipher algorithm to use (e.g. KRsaCipherUid) |
| const CKey & aKey | The encryption/decryption key. |
| TUid aCryptoMode | whether to encrypt or decrypt |
| TUid aPaddingMode | The padding mode to use |
| const CCryptoParams * aAlgorithmParams | Parameters that are specific to a particular algorithm. This is for extendibility and will normally be null. |
| IMPORT_C void | CreateAsyncAsymmetricCipherL | ( | CAsyncAsymmetricCipher *& | aCipher, |
| TUid | aAlgorithmUid, | |||
| const CKey & | aKey, | |||
| TUid | aCryptoMode, | |||
| TUid | aPaddingMode, | |||
| const CCryptoParams * | aAlgorithmParams | |||
| ) | [static] | |||
Creates a new instance of an asymmetric cipher.
| CAsyncAsymmetricCipher *& aCipher | A reference to a pointer that should be set to point to the new asymmetric cipher object. |
| TUid aAlgorithmUid | The asymmetric cipher algorithm to use (e.g. KRsaCipherUid) |
| const CKey & aKey | The encryption/decryption key. |
| TUid aCryptoMode | whether to encrypt or decrypt |
| TUid aPaddingMode | The padding mode to use |
| const CCryptoParams * aAlgorithmParams | Parameters that are specific to a particular algorithm. This is for extendibility and will normally be null. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.