cryptomgmtlibs/cryptotokenfw/inc_interfaces/mkeystore_v2.h
changeset 8 35751d3474b7
parent 0 2c201484c85f
child 15 da2ae96f639b
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    15 * MKeystore.h
    15 * MKeystore.h
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 
       
    21 
       
    22 /**
    20 /**
    23  @file 
    21  @file 
    24  @internalTechnology
    22  @publishedPartner
       
    23  @released
    25 */
    24 */
    26  
    25  
    27 #ifndef __MKEYSTORE_H__
    26 #ifndef __MKEYSTORE_H__
    28 #define __MKEYSTORE_H__
    27 #define __MKEYSTORE_H__
    29 
    28 
    44  *
    43  *
    45  * This template is be instantiated with a CRSASignature* as the
    44  * This template is be instantiated with a CRSASignature* as the
    46  * signature class for RSA signatures and with a CDSASignature* as the Signature
    45  * signature class for RSA signatures and with a CDSASignature* as the Signature
    47  * for DSA.
    46  * for DSA.
    48  * 
    47  * 
    49  * @publishedPartner
       
    50  * @released
       
    51  */
    48  */
    52 template <class Signature> class MCTSigner : public MCTTokenObject
    49 template <class Signature> class MCTSigner : public MCTTokenObject
    53 	{
    50 	{
    54  public:
    51  public:
    55 	/**
    52 	/**
    98 	};
    95 	};
    99 
    96 
   100 /**
    97 /**
   101  * An RSA signer object.
    98  * An RSA signer object.
   102  * 
    99  * 
   103  * @publishedPartner
       
   104  * @released
       
   105  */
   100  */
   106 typedef MCTSigner<CRSASignature*> MRSASigner;
   101 typedef MCTSigner<CRSASignature*> MRSASigner;
   107 
   102 
   108 /**
   103 /**
   109  * A DSA signer object.
   104  * A DSA signer object.
   110  * 
   105  * 
   111  * @publishedPartner
       
   112  * @released
       
   113  */
   106  */
   114 typedef MCTSigner<CDSASignature*> MDSASigner; 
   107 typedef MCTSigner<CDSASignature*> MDSASigner; 
   115 
   108 
   116 /**
   109 /**
   117  * A Decryptor. To do a private decrypt, you need to get one of these
   110  * A Decryptor. To do a private decrypt, you need to get one of these
   118  * objects.
   111  * objects.
   119  * 
   112  * 
   120  * @publishedPartner
       
   121  * @released
       
   122  */
   113  */
   123 class MCTDecryptor : public MCTTokenObject
   114 class MCTDecryptor : public MCTTokenObject
   124 	{
   115 	{
   125  public:
   116  public:
   126 	/**
   117 	/**
   146 	};
   137 	};
   147 
   138 
   148 /**
   139 /**
   149  * A Diffie-Hellman key agreement object.
   140  * A Diffie-Hellman key agreement object.
   150  * 
   141  * 
   151  * @publishedPartner
       
   152  * @released
       
   153  */
   142  */
   154 class MCTDH : public MCTTokenObject
   143 class MCTDH : public MCTTokenObject
   155 	{
   144 	{
   156  public:
   145  public:
   157 	/**
   146 	/**
   202  * allowing crypto operations to be performed.
   191  * allowing crypto operations to be performed.
   203  *
   192  *
   204  * This documentation describes the security policy that must be enforced by
   193  * This documentation describes the security policy that must be enforced by
   205  * implementations of the interface.
   194  * implementations of the interface.
   206  * 
   195  * 
   207  * @publishedPartner
       
   208  * @released
       
   209  */
   196  */
   210 class MKeyStore
   197 class MKeyStore
   211 	{
   198 	{
   212 public:
   199 public:
   213 	/**
   200 	/**