cryptoservices/certificateandkeymgmt/inc/unifiedkeystore_v2.h
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 45 030c4fbc13d7
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
    29 
    29 
    30 #include <f32file.h>
    30 #include <f32file.h>
    31 #include <e32base.h>
    31 #include <e32base.h>
    32 
    32 
    33 #include <mctkeystoremanager.h>
    33 #include <mctkeystoremanager.h>
       
    34 
       
    35 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    36 namespace CryptoSpi
       
    37     {
       
    38     class CSigner;
       
    39     class CAsymmetricCipher;
       
    40     class CCryptoParams;
       
    41     }
       
    42 #endif
    34 
    43 
    35 /**
    44 /**
    36  * Unified KeyStore panics 
    45  * Unified KeyStore panics 
    37  *
    46  *
    38  * @publishedPartner
    47  * @publishedPartner
   124 	virtual void CancelOpen();
   133 	virtual void CancelOpen();
   125 	virtual void ExportPublic(const TCTTokenObjectHandle& aHandle,
   134 	virtual void ExportPublic(const TCTTokenObjectHandle& aHandle,
   126 							  HBufC8*& aPublicKey,
   135 							  HBufC8*& aPublicKey,
   127 							  TRequestStatus& aStatus);
   136 							  TRequestStatus& aStatus);
   128 	virtual void CancelExportPublic();
   137 	virtual void CancelExportPublic();
       
   138 
       
   139 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
   140     virtual void Open(const TCTTokenObjectHandle& aHandle,
       
   141                       CryptoSpi::CSigner*& aSigner,
       
   142                       TRequestStatus& aStatus);
       
   143     virtual void Open(const TCTTokenObjectHandle& aHandle,
       
   144                       CryptoSpi::CAsymmetricCipher*& asymmetricCipherObj,
       
   145                       TRequestStatus& aStatus);
       
   146     virtual void Decrypt(const TCTTokenObjectHandle& aHandle,
       
   147                          const TDesC8& aCiphertext,
       
   148                          HBufC8*& aPlaintextPtr,
       
   149                          TRequestStatus& aStatus);
       
   150     virtual void Sign(const TCTTokenObjectHandle& aHandle,
       
   151                       const TDesC8& aPlaintext,
       
   152                       CryptoSpi::CCryptoParams*& aSignature,
       
   153                       TRequestStatus& aStatus);
       
   154 #endif
   129 
   155 
   130 public:		//	For MCTKeyStoreManager except those (CreateKey, ImportKey, ImportEncryptedKey)
   156 public:		//	For MCTKeyStoreManager except those (CreateKey, ImportKey, ImportEncryptedKey)
   131 			//	that require a caller-specified store
   157 			//	that require a caller-specified store
   132 	
   158 	
   133 	/**
   159 	/**