vpnengine/pkiserviceapi/inc/pkidefs.h
branchRCL_3
changeset 44 735de8341ce4
parent 0 33413c0669b9
equal deleted inserted replaced
41:e06095241a65 44:735de8341ce4
    23 #include <x509certext.h>
    23 #include <x509certext.h>
    24 
    24 
    25 const TInt MAX_FILENAME_LENGTH = 64;
    25 const TInt MAX_FILENAME_LENGTH = 64;
    26 const TInt SHORT_FILENAME_LENGTH = 64;
    26 const TInt SHORT_FILENAME_LENGTH = 64;
    27 
    27 
    28 const TUint32 KMaxX500DN = 256;
    28 const TUint32 KMaxX500DN = 1024;
    29 const TUint32 KMaxRfc822 = 64;
    29 const TUint32 KMaxRfc822 = 64;
    30 const TUint32 KMaxUsageDer = 16;
    30 const TUint32 KMaxUsageDer = 16;
    31 const TUint32 KMaxSerial = 128;
    31 const TUint32 KMaxSerial = 128;
    32 
    32 
    33 
    33 
    90 
    90 
    91 
    91 
    92 typedef TX509KeyUsage TPKIKeyUsage;
    92 typedef TX509KeyUsage TPKIKeyUsage;
    93    
    93    
    94 
    94 
    95 
       
    96 class TCertificateRequestListEntry
    95 class TCertificateRequestListEntry
    97 {
    96 {
    98     public:
    97     public:
    99         TBuf<SHORT_FILENAME_LENGTH> iObjectName;
    98         TBuf<SHORT_FILENAME_LENGTH> iObjectName;
   100 };
    99 };
   122         TPKIKeyIdentifier           iSubjectKeyId;              // SHA1 hash of the corresponding private key
   121         TPKIKeyIdentifier           iSubjectKeyId;              // SHA1 hash of the corresponding private key
   123         TUint                       iKeySize;                   // Key size
   122         TUint                       iKeySize;                   // Key size
   124         TPKIKeyAlgorithm            iKeyAlgorithm;              // RSA, DSA
   123         TPKIKeyAlgorithm            iKeyAlgorithm;              // RSA, DSA
   125 };
   124 };
   126 
   125 
       
   126 
   127 #endif
   127 #endif