Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6kmipclient.h
Go to the documentation of this file.
1 
17 #ifndef P6KMIPCLIENT_H__
18 #define P6KMIPCLIENT_H__ 1
19 
20 #include "p6net.h"
21 #include "p6kmipencoder.h"
22 #include "p6keystore.h"
23 #include "p6domxml.h"
24 
25 
26 
27 #ifdef __cplusplus
28 namespace P6R {
29 extern "C" {
30 #endif
31 
37 #undef INTERFACE
38 #define INTERFACE p6IKMIPVersions
40 {
52  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_VERSION* pSupported ) P6PURE;
53 
63 
74  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
75 };
76 // {B319EC18-E064-4c7b-9B91-1C20C7FE4BC2}
77 #define IF_p6IKMIPVersions {0xb319ec18,0xe064,0x4c7b,{0x9b,0x91,0x1c,0x20,0xc7,0xfe,0x4b,0xc2}}
78 
79 // {4EA4E33B-C6CF-47fa-96E5-D42E9A3EFCB3}
80 #define COMP_p6KMIPVersions {0x4ea4e33b,0xc6cf,0x47fa,{0x96,0xe5,0xd4,0x2e,0x9a,0x3e,0xfc,0xb3}}
81 
82 
88 #undef INTERFACE
89 #define INTERFACE p6IKMIPEnum
91 {
109  P6DECLCOMMETHOD(next)(P6THIS_ P6NCSTR* pUTF8String ) P6PURE;
110 
123  P6DECLCOMMETHOD(next2)(P6THIS_ P6UINT32* pValue ) P6PURE;
124 
133  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
134 
145  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
146 };
147 // {249E72B1-1658-40fa-A85D-A122385CEF75}
148 #define IF_p6IKMIPEnum {0x249e72b1,0x1658,0x40fa,{0xa8,0x5d,0xa1,0x22,0x38,0x5c,0xef,0x75}}
149 
150 // {38FBB4E8-9AD8-48b8-997F-501D3A398419}
151 #define COMP_p6KMIPEnum {0x38fbb4e8,0x9ad8,0x48b8,{0x99,0x7f,0x50,0x1d,0x3a,0x39,0x84,0x19}}
152 
153 
159 #undef INTERFACE
160 #define INTERFACE p6IKMIPStr
162 {
179  P6DECLCOMMETHOD(next)(P6THIS_ P6NCSTR* pUTF8String ) P6PURE;
180 
189  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
190 
201  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
202 };
203 // {CD246EDF-3340-437e-93AF-87C6A6AA7CE2}
204 #define IF_p6IKMIPStr {0xcd246edf,0x3340,0x437e,{0x93,0xaf,0x87,0xc6,0xa6,0xaa,0x7c,0xe2}}
205 
206 // {3A5A4252-73CA-45ca-9891-77E6A969FA7F}
207 #define COMP_p6KMIPStr {0x3a5a4252,0x73ca,0x45ca,{0x98,0x91,0x77,0xe6,0xa9,0x69,0xfa,0x7f}}
208 
209 
215 #undef INTERFACE
216 #define INTERFACE p6IKMIPBinary
218 {
235  P6DECLCOMMETHOD(next)(P6THIS_ P6BSTR* pBuffer ) P6PURE;
236 
248  P6DECLCOMMETHOD(associatedValue)(P6THIS_ P6UINT64* pNumber ) P6PURE;
249 
258  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
259 
270  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
271 };
272 // {4C634FD3-5F17-4454-83D5-57BF5B5594D7}
273 #define IF_p6IKMIPBinary {0x4c634fd3,0x5f17,0x4454,{0x83,0xd5,0x57,0xbf,0x5b,0x55,0x94,0xd7}}
274 
275 // {9F939B61-6FC4-4579-83C5-AD61ABBF3A22}
276 #define COMP_p6KMIPBinary {0x9f939b61,0x6fc4,0x4579,{0x83,0xc5,0xad,0x61,0xab,0xbf,0x3a,0x22}}
277 
278 
286 typedef struct {
290 
298 typedef struct {
302 
303 
360 typedef struct {
363  union {
412  } value;
413 } P6KMIP_OBJECT_ATTRIBUTE;
414 
415 
421 #undef INTERFACE
422 #define INTERFACE p6IKMIPAttribute
424 {
443 
457  P6DECLCOMMETHOD(next)(P6THIS_ P6UINT32* pType ) P6PURE;
458 
467  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
468 
479  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
480 };
481 // {E39E896D-8F38-456d-A1C7-17E22119A919}
482 #define IF_p6IKMIPAttribute {0xe39e896d,0x8f38,0x456d,{0xa1,0xc7,0x17,0xe2,0x21,0x19,0xa9,0x19}}
483 
484 // {1AB3DF9E-5B29-4372-89CA-163DD31B65FC}
485 #define COMP_p6KMIPAttribute {0x1ab3df9e,0x5b29,0x4372,{0x89,0xca,0x16,0x3d,0xd3,0x1b,0x65,0xfc}}
486 
487 
493 #undef INTERFACE
494 #define INTERFACE p6IKMIPNamespace
496 {
515  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_APPLICATION* pNamespace ) P6PURE;
516 
525  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
526 
537  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
538 };
539 // {AC4ABE06-E273-4c83-889D-5DDA6A023300}
540 #define IF_p6IKMIPNamespace {0xac4abe06,0xe273,0x4c83,{0x88,0x9d,0x5d,0xda,0x6a,0x2,0x33,0x0}}
541 
542 // {1E9FC2E2-F05C-478a-A098-D0087CC7C081}
543 #define COMP_p6KMIPNamespace {0x1e9fc2e2,0xf05c,0x478a,{0xa0,0x98,0xd0,0x8,0x7c,0xc7,0xc0,0x81}}
544 
545 
551 #undef INTERFACE
552 #define INTERFACE p6IKMIPName
554 {
572  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_NAME* pName ) P6PURE;
573 
582  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
583 
594  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
595 };
596 // {055E94DA-FB6A-4083-B55A-4449C2101D77}
597 #define IF_p6IKMIPName {0x55e94da,0xfb6a,0x4083,{0xb5,0x5a,0x44,0x49,0xc2,0x10,0x1d,0x77}}
598 
599 // {966CE299-DC38-488a-898A-B79BBD0C3228}
600 #define COMP_p6KMIPName {0x966ce299,0xdc38,0x488a,{0x89,0x8a,0xb7,0x9b,0xbd,0xc,0x32,0x28}}
601 
602 
608 #undef INTERFACE
609 #define INTERFACE p6IKMIPExtInfo
611 {
628  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_EXTENSION* pExtension ) P6PURE;
629 
638  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
639 
650  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
651 };
652 // {2D95D569-2BBE-4aaf-84FF-83890DA72F3F}
653 #define IF_p6IKMIPExtInfo {0x2d95d569,0x2bbe,0x4aaf,{0x84,0xff,0x83,0x89,0xd,0xa7,0x2f,0x3f}}
654 
655 // {0B49847A-1711-4e2b-A792-E98C0851A514}
656 #define COMP_p6KMIPExtInfo {0xb49847a,0x1711,0x4e2b,{0xa7,0x92,0xe9,0x8c,0x8,0x51,0xa5,0x14}}
657 
658 
677 typedef struct {
690 
697 #undef INTERFACE
698 #define INTERFACE p6IKMIPValInfo
700 {
717  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_VALIDATION* pValidation ) P6PURE;
718 
727  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
728 
739  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
740 };
741 // {21436801-8A79-4e72-BD15-86BB5A7927B6}
742 #define IF_p6IKMIPValInfo {0x21436801,0x8a79,0x4e72,{0xbd,0x15,0x86,0xbb,0x5a,0x79,0x27,0xb6}}
743 
744 // {67117C60-56FD-4793-9AB3-D786DE40390C}
745 #define COMP_p6KMIPValInfo {0x67117c60,0x56fd,0x4793,{0x9a,0xb3,0xd7,0x86,0xde,0x40,0x39,0xc}}
746 
747 
755 #undef INTERFACE
756 #define INTERFACE p6IKMIPProfileInfo
758 {
777  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_PROFILEINFO* pSupported ) P6PURE;
778 
787  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
788 
799  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
800 };
801 // {1731968A-F152-4452-B540-E2A0DFAC48D8}
802 #define IF_p6IKMIPProfileInfo {0x1731968a,0xf152,0x4452,{0xb5,0x40,0xe2,0xa0,0xdf,0xac,0x48,0xd8}}
803 
804 // {63CBCA9F-9F73-4a7d-A7E3-B53CB8121C80}
805 #define COMP_p6KMIPProfileInfo {0x63cbca9f,0x9f73,0x4a7d,{0xa7,0xe3,0xb5,0x3c,0xb8,0x12,0x1c,0x80}}
806 
807 
813 #undef INTERFACE
814 #define INTERFACE p6IKMIPRNGInfo
816 {
829 
838  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
839 
850  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
851 };
852 // {4C57BD96-7FA1-476c-8E8E-61980917B5B0}
853 #define IF_p6IKMIPRNGInfo {0x4c57bd96,0x7fa1,0x476c,{0x8e,0x8e,0x61,0x98,0x9,0x17,0xb5,0xb0}}
854 
855 // {E0E85DAC-42F1-4a3d-9CFA-60AFE24277A7}
856 #define COMP_p6KMIPRNGInfo {0xe0e85dac,0x42f1,0x4a3d,{0x9c,0xfa,0x60,0xaf,0xe2,0x42,0x77,0xa7}}
857 
858 
878 typedef struct {
891 
900 typedef struct {
904 
918 typedef struct {
927 
945 typedef struct {
950 
954 
967 typedef struct {
970 
974 
984 typedef struct {
989 
1002 typedef struct {
1010 
1020 typedef struct {
1025 
1041 typedef struct {
1047 
1050 
1051 
1064 typedef struct {
1072 
1084 typedef struct {
1091 
1102 typedef struct {
1108 
1127 typedef struct {
1131  union {
1140  } value;
1141 } P6KMIP_REGKEYPARAMS;
1142 
1154 typedef struct {
1161 
1174 typedef struct {
1178  union {
1181  } value;
1182 } P6KMIP_CERTPARAMS;
1183 
1198 typedef struct {
1204 
1218 typedef struct {
1227 
1238 typedef struct {
1244 
1254 typedef struct {
1259 
1270 typedef struct {
1276 
1285 typedef struct {
1289 
1298 typedef struct {
1302 
1313 typedef struct {
1317 } P6KMIP_LEASE;
1318 
1343 typedef struct {
1353 } P6KMIP_RESULT;
1354 
1368 typedef struct {
1377 
1386 typedef struct {
1390 
1399 typedef struct {
1403 
1414 typedef struct {
1420 
1429 typedef struct {
1433 
1443 typedef struct {
1447 } P6KMIP_BLOB;
1448 
1459 typedef struct {
1464 } P6KMIP_PGPBLOB;
1465 
1479 typedef struct {
1484  union {
1487  } value;
1488 } P6KMIP_KEYBLOCK;
1489 
1502 typedef struct {
1510 
1525 typedef struct {
1535 
1547 typedef struct {
1554 
1564 typedef struct {
1569 
1587 typedef struct {
1600 
1611 typedef struct {
1617 
1627 typedef struct {
1631 } P6KMIP_SIGNOUT;
1632 
1643 typedef struct {
1648 
1684 typedef struct {
1687  union {
1708  } value;
1709 } P6KMIP_MANAGED;
1710 
1711 
1757 typedef struct {
1761  union {
1797  } operation;
1798 } P6KMIP_BATCHRESULT;
1799 
1805 #undef INTERFACE
1806 #define INTERFACE p6IKMIPResult
1808 {
1822 
1831  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
1832 
1843  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
1844 };
1845 // {3DEBB8D7-6A9C-4e96-87E5-8CE94A0F4F4D}
1846 #define IF_p6IKMIPResult {0x3debb8d7,0x6a9c,0x4e96,{0x87,0xe5,0x8c,0xe9,0x4a,0xf,0x4f,0x4d}}
1847 
1848 // {E87F5FD3-7C14-4f47-BDBB-A3BBC20FBF97}
1849 #define COMP_p6KMIPResult {0xe87f5fd3,0x7c14,0x4f47,{0xbd,0xbb,0xa3,0xbb,0xc2,0xf,0xbf,0x97}}
1850 
1851 
1914 typedef struct {
1933 } P6KMIP_PREF;
1934 
1935 
1977 static const P6KMIPFLAGS P6KMIPFLG_NOFLAGS = 0x00000000;
1978 static const P6KMIPFLAGS P6KMIPFLG_TRACE_OFF = 0x00000002;
1979 static const P6KMIPFLAGS P6KMIPFLG_TRACE_BASIC = 0x00000004;
1980 static const P6KMIPFLAGS P6KMIPFLG_TRACE_MSGS = 0x00000008;
1981 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATXML = 0x00000010;
1982 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATJSON = 0x00000020;
1983 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATJSONML = 0x00000040;
1984 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATBINARY = 0x00000080;
1985 static const P6KMIPFLAGS P6KMIPFLG_TRACE_VERBOSE = 0x00000100;
1986 static const P6KMIPFLAGS P6KMIPFLG_DEBUG_MODE = 0x00000200;
1987 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATKMIPXML = 0x00000400;
1988 static const P6KMIPFLAGS P6KMIPFLG_TRACE_HTTPHEADERS = 0x00000800;
1989 static const P6KMIPFLAGS P6KMIPFLG_SERVER_TLS = 0x00001000;
1990 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATTTLV = 0x00002000;
1991 static const P6KMIPFLAGS P6KMIPFLG_TRACE_MSGBUILD = 0x00004000;
1992 
1993 
2005 #undef INTERFACE
2006 #define INTERFACE p6IKMIPClient
2008 {
2040  P6DECLCOMMETHOD(initialize)(P6THIS_ P6KMIPFLAGS flags, p6IKeystore* pCerts, P6KMIP_PREF preferences ) P6PURE;
2041 
2063  P6DECLCOMMETHOD(setSSLOptions)(P6THIS_ const P6WCHAR* pCiphers, P6SECURESOCKETFLAGS fSecureFlags ) P6PURE;
2064 
2086  P6DECLCOMMETHOD(open)(P6THIS_ const P6WCHAR* pHost, P6UINT32 port, P6KMIP_CREDENTIAL* pCredential ) P6PURE;
2087 
2095  P6DECLCOMMETHOD(close)(P6THIS) P6PURE;
2096 
2109  P6DECLCOMMETHOD(setAsynchronousIndicator)(P6THIS_ P6BOOL bAsynch ) P6PURE;
2110 
2127  P6DECLCOMMETHOD(extractExtension)(P6THIS_ P6UINT16 batchIndex, P6KMIP_RESPEXTENSION* pExtension ) P6PURE;
2128 
2145  P6DECLCOMMETHOD(addAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pAddResult, P6KMIP_RESULT* pResult ) P6PURE;
2146 
2163  P6DECLCOMMETHOD(addAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
2164 
2183  P6DECLCOMMETHOD(activateObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2184 
2203  P6DECLCOMMETHOD(archiveObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2204 
2224  P6DECLCOMMETHOD(cancel)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_RESULT* pResult, P6UINT32* pCancelResult ) P6PURE;
2225 
2242  P6DECLCOMMETHOD(certifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
2243 
2260  P6DECLCOMMETHOD(createKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
2261 
2279  P6DECLCOMMETHOD(createKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
2280 
2297  P6DECLCOMMETHOD(createSplitKey)(P6THIS_ P6KMIP_SPLITPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
2298 
2315  P6DECLCOMMETHOD(joinSplitKey)(P6THIS_ P6KMIP_JOINPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
2316 
2338  P6DECLCOMMETHOD(deleteAttributeObject)(P6THIS_ P6NCSTR uniqueId, P6NCSTR attributeName, P6INT32* pIndex, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBRESULT* pDelResult, P6KMIP_RESULT* pResult ) P6PURE;
2339 
2356  P6DECLCOMMETHOD(deriveKeyObject)(P6THIS_ P6KMIP_DERIVEPARAMS keyParams, P6KMIP_NEWOBJECT* pDerived, P6KMIP_RESULT* pResult ) P6PURE;
2357 
2376  P6DECLCOMMETHOD(destroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2377 
2396  P6DECLCOMMETHOD(discoverVersions)(P6THIS_ P6BOOL bClientVersions, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPVersions** ppVersions, P6KMIP_RESULT* pResult ) P6PURE;
2397 
2414  P6DECLCOMMETHOD(getAttributes)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_ATTRIBRESULT* pGetResult, P6KMIP_RESULT* pResult ) P6PURE;
2415 
2433  P6DECLCOMMETHOD(getAttributesAndGet)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_GETPARAMS get, p6IKMIPResult** pResult ) P6PURE;
2434 
2453  P6DECLCOMMETHOD(getAttributeList)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBUTENAMES* pName, P6KMIP_RESULT* pResult ) P6PURE;
2454 
2471  P6DECLCOMMETHOD(getObject)(P6THIS_ P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pResult ) P6PURE;
2472 
2493  P6DECLCOMMETHOD(checkAndGet)(P6THIS_ P6KMIP_CHECKPARAMS check, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
2494 
2515  P6DECLCOMMETHOD(getUsageAllocation)(P6THIS_ P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2516 
2543  P6DECLCOMMETHOD(checkAndGetUsageAllocation)(P6THIS_ P6KMIP_CHECKPARAMS check, P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
2544 
2561  P6DECLCOMMETHOD(locateObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2562 
2584  P6DECLCOMMETHOD(locateAndCheckObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_CHECKPARAMS check, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult, P6KMIP_CHECKRESULT* pCheck ) P6PURE;
2585 
2606  P6DECLCOMMETHOD(locateAndGetObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pLocateResult, P6KMIP_RESULT* pGetResult ) P6PURE;
2607 
2625  P6DECLCOMMETHOD(locateAndGetAttributes)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETATTRIBPARAMS attrib, p6IKMIPResult** pResult ) P6PURE;
2626 
2643  P6DECLCOMMETHOD(modifyAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pModResult, P6KMIP_RESULT* pResult ) P6PURE;
2644 
2662  P6DECLCOMMETHOD(modifyAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
2663 
2683  P6DECLCOMMETHOD(obtainLease)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_LEASE* pLease, P6KMIP_RESULT* pResult ) P6PURE;
2684 
2703  P6DECLCOMMETHOD(poll)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPResult** pResult ) P6PURE;
2704 
2724  P6DECLCOMMETHOD(queryServer)(P6THIS_ P6UINT32 queryCount, P6UINT32* pQueryFunctions, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_SERVERINFO* pCapabilities, P6KMIP_RESULT* pResult ) P6PURE;
2725 
2742  P6DECLCOMMETHOD(reCertifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
2743 
2762  P6DECLCOMMETHOD(recoverObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2763 
2782  P6DECLCOMMETHOD(registerCertificateObject)(P6THIS_ P6KMIP_CERTPARAMS certificate, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2783 
2803  P6DECLCOMMETHOD(registerKeyObject)(P6THIS_ P6KMIP_REGKEYPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2804 
2823  P6DECLCOMMETHOD(registerMDOObject)(P6THIS_ P6KMIP_REGMDOPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2824 
2843  P6DECLCOMMETHOD(registerSecretDataObject)(P6THIS_ P6KMIP_SECRETPARAMS secret, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2844 
2863  P6DECLCOMMETHOD(registerOpaqueObject)(P6THIS_ P6KMIP_OPAQUEPARAMS objParams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2864 
2883  P6DECLCOMMETHOD(registerTemplateObject)(P6THIS_ P6KMIP_TEMPLATEPARAMS tparams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2884 
2901  P6DECLCOMMETHOD(reKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pReKey, P6KMIP_RESULT* pResult ) P6PURE;
2902 
2920  P6DECLCOMMETHOD(reKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
2921 
2942  P6DECLCOMMETHOD(revokeObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2943 
2964  P6DECLCOMMETHOD(revokeAndDestroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2965 
2982  P6DECLCOMMETHOD(encrypt)(P6THIS_ P6KMIP_ENCRYPTPARAMS encryptParams, P6KMIP_CRYPTOOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
2983 
3000  P6DECLCOMMETHOD(decrypt)(P6THIS_ P6KMIP_ENCRYPTPARAMS decryptParams, P6KMIP_CRYPTOOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
3001 
3018  P6DECLCOMMETHOD(sign)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
3019 
3036  P6DECLCOMMETHOD(signatureVerify)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
3037 
3054  P6DECLCOMMETHOD(MAC)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
3055 
3072  P6DECLCOMMETHOD(MACVerify)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
3073 
3091  P6DECLCOMMETHOD(RNGRetrieve)(P6THIS_ P6INT32 dataLength, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pData, P6KMIP_RESULT* pResult ) P6PURE;
3092 
3110  P6DECLCOMMETHOD(RNGSeed)(P6THIS_ P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension, P6INT32* pDataLength, P6KMIP_RESULT* pResult ) P6PURE;
3111 
3130  P6DECLCOMMETHOD(hash)(P6THIS_ P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pHash, P6KMIP_RESULT* pResult ) P6PURE;
3131 
3148  P6DECLCOMMETHOD(validate)(P6THIS_ P6KMIP_VALIDATEPARAMS chain, P6UINT32* pValidity, P6KMIP_RESULT* pResult ) P6PURE;
3149 
3163  P6DECLCOMMETHOD(serverSupportsOperation)(P6THIS_ P6UINT32 opCode ) P6PURE;
3164 
3178  P6DECLCOMMETHOD(serverSupportsObject)(P6THIS_ P6UINT32 objectType ) P6PURE;
3179 
3191  P6DECLCOMMETHOD(getResponseDOM)(P6THIS_ p6IDOMXML** pResponse ) P6PURE;
3192 };
3193 
3194 // {EAC45E0F-0C17-481c-801D-613EBE000581}
3195 #define IF_p6IKMIPClient {0xeac45e0f,0xc17,0x481c,{0x80,0x1d,0x61,0x3e,0xbe,0x0,0x5,0x81}}
3196 
3197 // {05AF5ED8-C94F-436b-943F-F13744FD2DFD}
3198 #define COMP_p6KMIPClient {0x5af5ed8,0xc94f,0x436b,{0x94,0x3f,0xf1,0x37,0x44,0xfd,0x2d,0xfd}}
3199 
3200 
3201 
3213 #undef INTERFACE
3214 #define INTERFACE p6IKMIPClient2
3216 {
3248  P6DECLCOMMETHOD(initialize)(P6THIS_ P6KMIPFLAGS flags, p6IKeystore* pCerts, P6KMIP_PREF preferences ) P6PURE;
3249 
3271  P6DECLCOMMETHOD(setSSLOptions)(P6THIS_ const P6WCHAR* pCiphers, P6SECURESOCKETFLAGS fSecureFlags ) P6PURE;
3272 
3296  P6DECLCOMMETHOD(open2)(P6THIS_ const P6WCHAR* pHost, P6UINT32 port, P6KMIP_CREDENTIAL* pCredentials, P6UINT32 numCreds ) P6PURE;
3297 
3305  P6DECLCOMMETHOD(close)(P6THIS) P6PURE;
3306 
3319  P6DECLCOMMETHOD(setAsynchronousIndicator)(P6THIS_ P6BOOL bAsynch ) P6PURE;
3320 
3335  P6DECLCOMMETHOD(resetCredentials)(P6THIS_ P6KMIP_CREDENTIAL* pCredentials, P6UINT32 numCreds ) P6PURE;
3336 
3353  P6DECLCOMMETHOD(extractExtension)(P6THIS_ P6UINT16 batchIndex, P6KMIP_RESPEXTENSION* pExtension ) P6PURE;
3354 
3371  P6DECLCOMMETHOD(addAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pAddResult, P6KMIP_RESULT* pResult ) P6PURE;
3372 
3389  P6DECLCOMMETHOD(addAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
3390 
3409  P6DECLCOMMETHOD(activateObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3410 
3429  P6DECLCOMMETHOD(archiveObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3430 
3450  P6DECLCOMMETHOD(cancel)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_RESULT* pResult, P6UINT32* pCancelResult ) P6PURE;
3451 
3468  P6DECLCOMMETHOD(certifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
3469 
3486  P6DECLCOMMETHOD(createKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
3487 
3505  P6DECLCOMMETHOD(createKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
3506 
3523  P6DECLCOMMETHOD(createSplitKey)(P6THIS_ P6KMIP_SPLITPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
3524 
3541  P6DECLCOMMETHOD(joinSplitKey)(P6THIS_ P6KMIP_JOINPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
3542 
3564  P6DECLCOMMETHOD(deleteAttributeObject)(P6THIS_ P6NCSTR uniqueId, P6NCSTR attributeName, P6INT32* pIndex, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBRESULT* pDelResult, P6KMIP_RESULT* pResult ) P6PURE;
3565 
3582  P6DECLCOMMETHOD(deriveKeyObject)(P6THIS_ P6KMIP_DERIVEPARAMS keyParams, P6KMIP_NEWOBJECT* pDerived, P6KMIP_RESULT* pResult ) P6PURE;
3583 
3602  P6DECLCOMMETHOD(destroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3603 
3622  P6DECLCOMMETHOD(discoverVersions)(P6THIS_ P6BOOL bClientVersions, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPVersions** ppVersions, P6KMIP_RESULT* pResult ) P6PURE;
3623 
3640  P6DECLCOMMETHOD(getAttributes)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_ATTRIBRESULT* pGetResult, P6KMIP_RESULT* pResult ) P6PURE;
3641 
3659  P6DECLCOMMETHOD(getAttributesAndGet)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_GETPARAMS get, p6IKMIPResult** pResult ) P6PURE;
3660 
3679  P6DECLCOMMETHOD(getAttributeList)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBUTENAMES* pName, P6KMIP_RESULT* pResult ) P6PURE;
3680 
3697  P6DECLCOMMETHOD(getObject)(P6THIS_ P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pResult ) P6PURE;
3698 
3719  P6DECLCOMMETHOD(checkAndGet)(P6THIS_ P6KMIP_CHECKPARAMS check, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
3720 
3741  P6DECLCOMMETHOD(getUsageAllocation)(P6THIS_ P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3742 
3769  P6DECLCOMMETHOD(checkAndGetUsageAllocation)(P6THIS_ P6KMIP_CHECKPARAMS check, P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
3770 
3787  P6DECLCOMMETHOD(locateObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3788 
3810  P6DECLCOMMETHOD(locateAndCheckObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_CHECKPARAMS check, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult, P6KMIP_CHECKRESULT* pCheck ) P6PURE;
3811 
3832  P6DECLCOMMETHOD(locateAndGetObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pLocateResult, P6KMIP_RESULT* pGetResult ) P6PURE;
3833 
3851  P6DECLCOMMETHOD(locateAndGetAttributes)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETATTRIBPARAMS attrib, p6IKMIPResult** pResult ) P6PURE;
3852 
3869  P6DECLCOMMETHOD(modifyAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pModResult, P6KMIP_RESULT* pResult ) P6PURE;
3870 
3888  P6DECLCOMMETHOD(modifyAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
3889 
3909  P6DECLCOMMETHOD(obtainLease)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_LEASE* pLease, P6KMIP_RESULT* pResult ) P6PURE;
3910 
3929  P6DECLCOMMETHOD(poll)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPResult** pResult ) P6PURE;
3930 
3950  P6DECLCOMMETHOD(queryServer)(P6THIS_ P6UINT32 queryCount, P6UINT32* pQueryFunctions, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_SERVERINFO* pCapabilities, P6KMIP_RESULT* pResult ) P6PURE;
3951 
3968  P6DECLCOMMETHOD(reCertifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
3969 
3988  P6DECLCOMMETHOD(recoverObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3989 
4008  P6DECLCOMMETHOD(registerCertificateObject)(P6THIS_ P6KMIP_CERTPARAMS certificate, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4009 
4028  P6DECLCOMMETHOD(registerKeyObject)(P6THIS_ P6KMIP_REGKEYPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4029 
4048  P6DECLCOMMETHOD(registerMDOObject)(P6THIS_ P6KMIP_REGMDOPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4049 
4068  P6DECLCOMMETHOD(registerSecretDataObject)(P6THIS_ P6KMIP_SECRETPARAMS secret, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4069 
4088  P6DECLCOMMETHOD(registerOpaqueObject)(P6THIS_ P6KMIP_OPAQUEPARAMS objParams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4089 
4108  P6DECLCOMMETHOD(registerTemplateObject)(P6THIS_ P6KMIP_TEMPLATEPARAMS tparams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4109 
4126  P6DECLCOMMETHOD(reKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pReKey, P6KMIP_RESULT* pResult ) P6PURE;
4127 
4145  P6DECLCOMMETHOD(reKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
4146 
4167  P6DECLCOMMETHOD(revokeObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4168 
4189  P6DECLCOMMETHOD(revokeAndDestroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4190 
4220  P6DECLCOMMETHOD(encrypt2)(P6THIS_ P6KMIP_ENCRYPTPARAMS encryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_CRYPTOOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
4221 
4251  P6DECLCOMMETHOD(decrypt2)(P6THIS_ P6KMIP_ENCRYPTPARAMS decryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_CRYPTOOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
4252 
4281  P6DECLCOMMETHOD(sign2)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
4282 
4311  P6DECLCOMMETHOD(signatureVerify2)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
4312 
4341  P6DECLCOMMETHOD(MAC2)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
4342 
4371  P6DECLCOMMETHOD(MACVerify2)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
4372 
4390  P6DECLCOMMETHOD(RNGRetrieve)(P6THIS_ P6INT32 dataLength, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pData, P6KMIP_RESULT* pResult ) P6PURE;
4391 
4409  P6DECLCOMMETHOD(RNGSeed)(P6THIS_ P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension, P6INT32* pDataLength, P6KMIP_RESULT* pResult ) P6PURE;
4410 
4442  P6DECLCOMMETHOD(hash2)(P6THIS_ P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pHash, P6KMIP_RESULT* pResult ) P6PURE;
4443 
4460  P6DECLCOMMETHOD(validate)(P6THIS_ P6KMIP_VALIDATEPARAMS chain, P6UINT32* pValidity, P6KMIP_RESULT* pResult ) P6PURE;
4461 
4475  P6DECLCOMMETHOD(serverSupportsOperation)(P6THIS_ P6UINT32 opCode ) P6PURE;
4476 
4490  P6DECLCOMMETHOD(serverSupportsObject)(P6THIS_ P6UINT32 objectType ) P6PURE;
4491 
4505  P6DECLCOMMETHOD(serverSupportedCapabilities)(P6THIS_ P6KMIP_CAPABILITIES* pCapabilities ) P6PURE;
4506 
4518  P6DECLCOMMETHOD(getResponseDOM)(P6THIS_ p6IDOMXML** pResponse ) P6PURE;
4519 
4533  P6DECLCOMMETHOD(setProtocolVersion)(P6THIS_ const P6CHAR* pVersion ) P6PURE;
4534 
4555  P6DECLCOMMETHOD(getClientCredentials)(P6THIS_ P6KMIP_CREDENTIAL* pOneTime, p6IKeystore* pKeystore, P6KMIP_MANAGED* pPublic ) P6PURE;
4556 };
4557 
4558 // {CF0EF246-9328-485c-9FD6-42D8452099BB}
4559 #define IF_p6IKMIPClient2 {0xcf0ef246,0x9328,0x485c,{0x9f,0xd6,0x42,0xd8,0x45,0x20,0x99,0xbb}}
4560 
4561 
4562 
4576 #undef INTERFACE
4577 #define INTERFACE p6IKMIPClient3
4579 {
4611  P6DECLCOMMETHOD(initialize)(P6THIS_ P6KMIPFLAGS flags, p6IKeystore* pCerts, P6KMIP_PREF preferences ) P6PURE;
4612 
4634  P6DECLCOMMETHOD(setSSLOptions)(P6THIS_ const P6WCHAR* pCiphers, P6SECURESOCKETFLAGS fSecureFlags ) P6PURE;
4635 
4659  P6DECLCOMMETHOD(open2)(P6THIS_ const P6WCHAR* pHost, P6UINT32 port, P6KMIP_CREDENTIAL* pCredentials, P6UINT32 numCreds ) P6PURE;
4660 
4668  P6DECLCOMMETHOD(close)(P6THIS) P6PURE;
4669 
4682  P6DECLCOMMETHOD(setAsynchronousIndicator)(P6THIS_ P6BOOL bAsynch ) P6PURE;
4683 
4698  P6DECLCOMMETHOD(resetCredentials)(P6THIS_ P6KMIP_CREDENTIAL* pCredentials, P6UINT32 numCreds ) P6PURE;
4699 
4716  P6DECLCOMMETHOD(extractExtension)(P6THIS_ P6UINT16 batchIndex, P6KMIP_RESPEXTENSION* pExtension ) P6PURE;
4717 
4734  P6DECLCOMMETHOD(addAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pAddResult, P6KMIP_RESULT* pResult ) P6PURE;
4735 
4752  P6DECLCOMMETHOD(addAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
4753 
4772  P6DECLCOMMETHOD(activateObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4773 
4792  P6DECLCOMMETHOD(archiveObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4793 
4813  P6DECLCOMMETHOD(cancel)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_RESULT* pResult, P6UINT32* pCancelResult ) P6PURE;
4814 
4831  P6DECLCOMMETHOD(certifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
4832 
4849  P6DECLCOMMETHOD(createKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
4850 
4868  P6DECLCOMMETHOD(createKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
4869 
4886  P6DECLCOMMETHOD(createSplitKey)(P6THIS_ P6KMIP_SPLITPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
4887 
4904  P6DECLCOMMETHOD(joinSplitKey)(P6THIS_ P6KMIP_JOINPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
4905 
4927  P6DECLCOMMETHOD(deleteAttributeObject)(P6THIS_ P6NCSTR uniqueId, P6NCSTR attributeName, P6INT32* pIndex, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBRESULT* pDelResult, P6KMIP_RESULT* pResult ) P6PURE;
4928 
4945  P6DECLCOMMETHOD(deriveKeyObject)(P6THIS_ P6KMIP_DERIVEPARAMS keyParams, P6KMIP_NEWOBJECT* pDerived, P6KMIP_RESULT* pResult ) P6PURE;
4946 
4965  P6DECLCOMMETHOD(destroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4966 
4985  P6DECLCOMMETHOD(discoverVersions)(P6THIS_ P6BOOL bClientVersions, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPVersions** ppVersions, P6KMIP_RESULT* pResult ) P6PURE;
4986 
5003  P6DECLCOMMETHOD(getAttributes)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_ATTRIBRESULT* pGetResult, P6KMIP_RESULT* pResult ) P6PURE;
5004 
5022  P6DECLCOMMETHOD(getAttributesAndGet)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_GETPARAMS get, p6IKMIPResult** pResult ) P6PURE;
5023 
5042  P6DECLCOMMETHOD(getAttributeList)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBUTENAMES* pName, P6KMIP_RESULT* pResult ) P6PURE;
5043 
5060  P6DECLCOMMETHOD(getObject)(P6THIS_ P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pResult ) P6PURE;
5061 
5082  P6DECLCOMMETHOD(checkAndGet)(P6THIS_ P6KMIP_CHECKPARAMS check, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
5083 
5104  P6DECLCOMMETHOD(getUsageAllocation)(P6THIS_ P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5105 
5132  P6DECLCOMMETHOD(checkAndGetUsageAllocation)(P6THIS_ P6KMIP_CHECKPARAMS check, P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
5133 
5150  P6DECLCOMMETHOD(locateObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5151 
5173  P6DECLCOMMETHOD(locateAndCheckObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_CHECKPARAMS check, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult, P6KMIP_CHECKRESULT* pCheck ) P6PURE;
5174 
5195  P6DECLCOMMETHOD(locateAndGetObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pLocateResult, P6KMIP_RESULT* pGetResult ) P6PURE;
5196 
5214  P6DECLCOMMETHOD(locateAndGetAttributes)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETATTRIBPARAMS attrib, p6IKMIPResult** pResult ) P6PURE;
5215 
5232  P6DECLCOMMETHOD(modifyAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pModResult, P6KMIP_RESULT* pResult ) P6PURE;
5233 
5251  P6DECLCOMMETHOD(modifyAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
5252 
5272  P6DECLCOMMETHOD(obtainLease)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_LEASE* pLease, P6KMIP_RESULT* pResult ) P6PURE;
5273 
5292  P6DECLCOMMETHOD(poll)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPResult** pResult ) P6PURE;
5293 
5313  P6DECLCOMMETHOD(queryServer)(P6THIS_ P6UINT32 queryCount, P6UINT32* pQueryFunctions, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_SERVERINFO* pCapabilities, P6KMIP_RESULT* pResult ) P6PURE;
5314 
5331  P6DECLCOMMETHOD(reCertifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
5332 
5351  P6DECLCOMMETHOD(recoverObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5352 
5371  P6DECLCOMMETHOD(registerCertificateObject)(P6THIS_ P6KMIP_CERTPARAMS certificate, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5372 
5391  P6DECLCOMMETHOD(registerKeyObject)(P6THIS_ P6KMIP_REGKEYPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5392 
5411  P6DECLCOMMETHOD(registerMDOObject)(P6THIS_ P6KMIP_REGMDOPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5412 
5431  P6DECLCOMMETHOD(registerSecretDataObject)(P6THIS_ P6KMIP_SECRETPARAMS secret, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5432 
5451  P6DECLCOMMETHOD(registerOpaqueObject)(P6THIS_ P6KMIP_OPAQUEPARAMS objParams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5452 
5471  P6DECLCOMMETHOD(registerTemplateObject)(P6THIS_ P6KMIP_TEMPLATEPARAMS tparams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5472 
5489  P6DECLCOMMETHOD(reKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pReKey, P6KMIP_RESULT* pResult ) P6PURE;
5490 
5508  P6DECLCOMMETHOD(reKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
5509 
5530  P6DECLCOMMETHOD(revokeObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5531 
5552  P6DECLCOMMETHOD(revokeAndDestroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5553 
5583  P6DECLCOMMETHOD(encrypt2)(P6THIS_ P6KMIP_ENCRYPTPARAMS encryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_CRYPTOOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
5584 
5614  P6DECLCOMMETHOD(decrypt2)(P6THIS_ P6KMIP_ENCRYPTPARAMS decryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_CRYPTOOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
5615 
5644  P6DECLCOMMETHOD(sign2)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
5645 
5674  P6DECLCOMMETHOD(signatureVerify2)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
5675 
5704  P6DECLCOMMETHOD(MAC2)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
5705 
5734  P6DECLCOMMETHOD(MACVerify2)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
5735 
5753  P6DECLCOMMETHOD(RNGRetrieve)(P6THIS_ P6INT32 dataLength, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pData, P6KMIP_RESULT* pResult ) P6PURE;
5754 
5772  P6DECLCOMMETHOD(RNGSeed)(P6THIS_ P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension, P6INT32* pDataLength, P6KMIP_RESULT* pResult ) P6PURE;
5773 
5805  P6DECLCOMMETHOD(hash2)(P6THIS_ P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pHash, P6KMIP_RESULT* pResult ) P6PURE;
5806 
5823  P6DECLCOMMETHOD(validate)(P6THIS_ P6KMIP_VALIDATEPARAMS chain, P6UINT32* pValidity, P6KMIP_RESULT* pResult ) P6PURE;
5824 
5838  P6DECLCOMMETHOD(serverSupportsOperation)(P6THIS_ P6UINT32 opCode ) P6PURE;
5839 
5853  P6DECLCOMMETHOD(serverSupportsObject)(P6THIS_ P6UINT32 objectType ) P6PURE;
5854 
5868  P6DECLCOMMETHOD(serverSupportedCapabilities)(P6THIS_ P6KMIP_CAPABILITIES* pCapabilities ) P6PURE;
5869 
5881  P6DECLCOMMETHOD(getResponseDOM)(P6THIS_ p6IDOMXML** pResponse ) P6PURE;
5882 
5896  P6DECLCOMMETHOD(setProtocolVersion)(P6THIS_ const P6CHAR* pVersion ) P6PURE;
5897 
5918  P6DECLCOMMETHOD(getClientCredentials)(P6THIS_ P6KMIP_CREDENTIAL* pOneTime, p6IKeystore* pKeystore, P6KMIP_MANAGED* pPublic ) P6PURE;
5919 
5935  P6DECLCOMMETHOD(setClientCorrelationValue)(P6THIS_ P6NCSTR* pCorrelation ) P6PURE;
5936 
5954  P6DECLCOMMETHOD(getServerCorrelationValue)(P6THIS_ p6IKMIPStr** pCorrelation ) P6PURE;
5955 };
5956 
5957 // {A13A3907-5945-4604-AC97-9E6589F90147}
5958 #define IF_p6IKMIPClient3 {0xa13a3907,0x5945,0x4604,{0xac,0x97,0x9e,0x65,0x89,0xf9,0x1,0x47}}
5959 
5960 
5961 #ifdef __cplusplus
5962 } // extern "C"
5963 } // namespace
5964 #endif
5965 
5966 #endif
5967 
P6KMIP_TEMPLATEATTRIBUTE attributes
Definition: p6kmipclient.h:986
P6KMIP_MANAGED getObject
This interface is an enumerator that returns a list of KMIP UTF-8 text string type values...
Definition: p6kmipclient.h:161
P6KMIP_ATTRIBPARAMS.
P6KMIP_KEYWRAPPING * pWrapInfo
P6KMIP_DOMAINPARAMS.
P6KMIP_DOMAINPARAMS dParams
Definition: p6kmipclient.h:370
P6KMIP_CRYPTOPARAMS encryptParams
P6KMIP_SIGNPARAMS.
P6KMIP_USAGELIMITS attribute.
Note that the server can return a KMIP_RESULT_PENDING status in the pResult parameter.
uint64_t P6UINT64
Definition: p6types.h:79
P6KMIP_RESPEXTENSION.
This interface is an enumerator that returns a list of KMIP Validations supported by a KMIP server an...
Definition: p6kmipclient.h:699
<div class="p6box"> This interface has been depricated in favor of p6IKeystore3.
Definition: p6keystore.h:664
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_TEMPLATEATTRIBUTE attributes
p6IKMIPAttribute * pAttributes
P6KMIP_NEWOBJECT joinSplitKey
This interface is an enumerator that returns a list of KMIP Conformance Profiles supported by a KMIP ...
Definition: p6kmipclient.h:757
P6KMIP_VERSION.
P6KMIP_BLOB.
Const Binary string.
Definition: p6types.h:199
p6IKMIPAttribute * pTemplate
P6KMIP_NEWOBJECT privateKeyInfo
P6KMIP_MSGEXTENSION * pExtension
Definition: p6kmipclient.h:949
P6KMIP_RAWCERT rawCertificate
P6KMIP_CRYPTOSTREAM.
p6IKMIPValInfo * pValidations
Definition: p6kmipclient.h:886
P6KMIP_ATTRIBRESULT deleteAttribute
P6KMIP_MSGEXTENSION * pExtension
Definition: p6kmipclient.h:969
A convience structure to pass around a narrow string along with its length.
Definition: p6types.h:246
P6KMIP_SPLITSPEC splitdef
Definition: p6kmipclient.h:985
This interface is an enumerator that returns a list of KMIP P6KMIP_VERSION values.
Definition: p6kmipclient.h:39
P6KMIP_PAIRPARAMS.
Definition: p6kmipclient.h:945
P6KMIP_KEYWRAPPINGDATA wrapData
P6KMIP_TEMPLATEATTRIBUTE attributes
This interface provides key metadata infrormation and key access.
Definition: p6cryptokey.h:1198
p6IDHKeyExchange * pDHPubKey
P6KMIP_DERIVEPARAMS.
P6UINT32 privateKeyEncoding
p6IKMIPAttribute * pAttributes
Note that the server can return a KMIP_RESULT_PENDING status in the pResult parameter.
uint32_t P6UINT32
Definition: p6types.h:77
P6R's interface of the DOM parser.
Definition: p6domxml.h:102
P6UINT32 P6KMIPFLAGS
P6KMIPFLAGS.
P6KMIP_OBJECT_X509NAME x509certificateSubject
Definition: p6kmipclient.h:374
P6KMIP_TEMPLATEATTRIBUTE * pAttributes
P6KMIP_MSGEXTENSION * pExtension
Definition: p6kmipclient.h:924
P6KMIP_ATTRIBUTENAMES.
P6KMIP_REVOCATION attribute.
P6KMIP_MSGEXTENSION.
P6KMIP_WRAPSECRETDATA.
p6IKMIPBinary * pAsynchCorrelation
#define P6DECLAREICOM
Definition: p6defs.h:191
P6KMIP_ATTRIBRESULT getAttributes
P6KMIP_MSGEXTENSION * pExtension
Definition: p6kmipclient.h:987
P6KMIP_BLOB secretData
P6R's keystore component to manage keys, certificates, and blobs.
P6KMIP_TEMPLATEATTRIBUTE * pPrivateKeyAttributes
Definition: p6kmipclient.h:947
p6IKMIPStr * pUniqueId
P6KMIP_ATTRIBUTE.
p6IKMIPStr * pMessage
#define P6PURE
Definition: p6defs.h:192
P6KMIP_WRAPKEYBLOCK wrappedPublicKey
p6IKMIPStr * pVendorId
Definition: p6kmipclient.h:881
P6KMIP_SIGNIN.
P6KMIP_SPLITPARAMS.
Definition: p6kmipclient.h:984
p6IKMIPRNGInfo * pRNGs
Definition: p6kmipclient.h:885
P6KMIP_NEWOBJECT reKeyObject
P6KMIP_CRYPTOIN.
p6IKMIPStr * pUniqueId
P6KMIP_USAGELIMITS usageLimits
Definition: p6kmipclient.h:384
P6KMIP_NEWKEYPAIR.
p6ICryptoKey * pKey
unsigned char P6BOOL
Boolean type.
Definition: p6types.h:133
P6KMIP_ENCRYPTPARAMS.
P6KMIP_TEMPLATEATTRIBUTE properties
P6KMIP_MSGEXTENSION * pExtension
p6IKMIPBinary * pAlternateNames
Definition: p6kmipclient.h:288
P6KMIP_RAWKEY.
P6KMIP_TEMPLATEATTRIBUTE * pAttributes
Definition: p6kmipclient.h:968
P6KMIP_PREF.
P6KMIP_NAME attribute.
Definition: p6kmipencoder.h:49
P6KMIP_NEWOBJECT createObject
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_OBJECT_CERTNAME certificateSubject
Definition: p6kmipclient.h:377
P6KMIP_NEWKEYPAIR keyPairObjects
P6KMIP_DRIVEKEY.
P6KMIP_NEWOBJECT certifyObject
P6KMIP_DIGEST attribute.
P6KMIP_TEMPLATEATTRIBUTE attributes
p6IKMIPStr * pNamespaces
Definition: p6kmipclient.h:883
P6KMIP_KEYPARAMS.
Definition: p6kmipclient.h:967
p6IKMIPBinary * pNonceId
P6UINT32 validityIndicator
P6UINT32 maxTTLVSize
P6KMIP_BLOB opaqueObject
P6UINT32 * pKeyCompression
P6KMIP_CRYPTOPARAMS cParams
Definition: p6kmipclient.h:369
P6KMIP_SIGNOUT.
p6IKMIPBinary * pServerInfo
Definition: p6kmipclient.h:882
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_PGPBLOB.
P6UINT32 symmetricKeyEncoding
P6KMIP_SPLITKEY.
p6IKMIPBinary * pPrimeFieldSize
P6KMIP_CERTID attribute.
P6UINT16 asynchronous
p6IKMIPEnum * pAttestationType
P6R's interface of the DOM parser.
P6KMIP_TEMPLATEATTRIBUTE attributes
p6IKMIPProfileInfo * pProfiles
Definition: p6kmipclient.h:887
P6UINT32 * pAttestationTypes
P6KMIP_CRYPTOPARAMS attribute.
Definition: p6kmipencoder.h:77
P6KMIP_BATCHRESULT.
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_OBJECT_CERTNAME certificateIssuer
Definition: p6kmipclient.h:378
P6KMIP_VALIDATION.
Definition: p6kmipclient.h:677
p6IKMIPBinary * pBlob
P6KMIP_OBJECT_X509NAME attribute.
Definition: p6kmipclient.h:286
P6KMIP_NEWOBJECT.
This interface is an enumerator that returns a list of KMIP binary array values.
Definition: p6kmipclient.h:217
P6KMIP_SPLITKEY splitKey
P6KMIP_KEYWRAPPINGDATA wrapData
P6KMIP_SIGNIN cipherOp
P6KMIP_KEYWRAPPING.
P6KMIP_APPLICATION applicationInfo
Definition: p6kmipclient.h:399
P6KMIP_RESULT.
P6UINT32 initialBufCount
P6KMIP_VALIDATEPARAMS.
p6IKMIPBinary * pData
This interface is an enumerator that returns a list of KMIP attribute values.
Definition: p6kmipclient.h:423
P6KMIP_WRAPSECRETDATA wrappedSecretData
p6IKMIPBinary * pNonceValue
P6KMIP_CRYPTOOUT decrypt
p6IKMIPEnum * pObjects
Definition: p6kmipclient.h:880
P6UINT32 publicKeyEncoding
P6KMIP_RAWKEYBLOCK PKCS12
P6KMIP_CREDENTIAL.
P6KMIP_ATTRIBUTE * pItemList
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition: p6types.h:111
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_ATTRIBUTE attribute
P6KMIP_WRAPPINGSPEC * pSpec
This interface is an enumerator that returns a list of RNG Parameters supported by a KMIP server retu...
Definition: p6kmipclient.h:815
P6KMIP_DERIVEKEY objects
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_TEMPLATEATTRIBUTE attributes
P6KMIP_NEWKEYPAIR reKeyPairObjects
P6KMIP_SECRETPARAMS.
P6KMIP_SIGNOUT MACVerify
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_LINK attribute.
const P6WCHAR * pSubdirectory
P6KMIP_RAWKEYBLOCK.
p6IKMIPAttribute * pAttribute
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
P6KMIP_CERTIFYPARAMS.
P6UINT32 numAttTypes
P6KMIP_X509CERTID attribute.
P6KMIP_NEWOBJECT deriveKeyObject
P6KMIP_CERTPARAMS.
This interface is an enumerator that returns a list of results for each batch item in a request...
int64_t P6INT64
Definition: p6types.h:78
p6IKMIPBinary * pRNGRetrieve
P6KMIP_KEYBLOCK privateKey
P6KMIP_KEYBLOCK symmetricKey
This encoder function defined in this file presents the lower level interface to the generation of KM...
P6KMIP_CHECKRESULT.
P6KMIP_RAWCERT.
Definition: p6kmipclient.h:900
P6KMIP_X509CERTID x509certificateIdentifier
Definition: p6kmipclient.h:373
Binary string.
Definition: p6types.h:185
P6UINT32 connectTimeout
P6KMIP_KEYBLOCK publicKey
P6KMIP_RAWKEYBLOCK rawPublicKey
P6KMIP_RNGPARAMS.
P6KMIP_MSGEXTENSION * pExtension
const P6CHAR * pVersion
p6IKMIPStr * pUniqueId
P6UINT32 maxBufferSize
This interface is an enumerator that returns a list of KMIP Extension Information values (i...
Definition: p6kmipclient.h:610
P6KMIP_GETPARAMS.
P6KMIP_PROFILEINFO attribute.
P6KMIP_NEWOBJECT registerObject
P6KMIP_TEMPLATEATTRIBUTE * pCommonAttributes
Definition: p6kmipclient.h:946
P6KMIP_BLOB rawObject
p6IKMIPBinary * pData
This component provides the basics of the key exchange calculates used in the Diffe-Hellman key excha...
P6KMIP_OPAQUEPARAMS.
P6KMIP_KEYWRAPPINGDATA wrapData
P6UINT32 receiveTimeout
This interface allows the caller to access parts of an X509 V3 certificate for use in protocols and i...
Definition: p6cert.h:111
P6KMIP_CRYTOOUT.
p6IKMIPStr * pUsageAllocation
P6UINT32 P6SECURESOCKETFLAGS
Definition: p6net.h:563
P6KMIP_RNGPARAMS randomNumberGenerator
Definition: p6kmipclient.h:409
P6KMIP_TEMPLATEATTRIBUTE * pPublicKeyAttributes
Definition: p6kmipclient.h:948
P6KMIP_ATTRIBUTENAMES getAttributeList
P6KMIP_MSGEXTENSION * pExtension
p6IKMIPAttribute * pAttributes
P6KMIP_RAWKEYBLOCK rawPrivateKey
p6IKMIPName * pNames
P6KMIP_XATTRIB attribute.
p6IKMIPBinary * pKeyValue
Network interfaces and definitions.
p6IKMIPBinary * pHash
This interface is an enumerator that returns a list of KMIP Template Names (i.e., Section 2...
Definition: p6kmipclient.h:553
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_MSGEXTENSION * pExtension
P6UINT32 compatibility1
uint16_t P6UINT16
Definition: p6types.h:75
P6KMIP_OBJECT_SPLITKEY wrappedSplitKey
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_REGKEYPARAMS.
p6IDHKeyExchange * pDHPrivKey
P6KMIP_WRAPKEYBLOCK wrappedSymmetricKey
P6KMIP_WRAPKEYBLOCK.
P6KMIP_NEWOBJECT reCertifyObject
P6KMIP_OBJECT_SPLITKEY splitKey
P6KMIP_KEYBLOCK.
P6KMIP_TEMPLATEATTRIBUTE attributes
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
P6KMIP_NEWOBJECT publicKeyInfo
P6KMIP_OBJECT_X509NAME x509certificateIssuer
Definition: p6kmipclient.h:375
p6IKMIPBinary * pIV
P6KMIP_ATTRIBRESULT modifyAttribute
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
Definition: p6types.h:259
P6KMIP_CAPABILITIES.
P6KMIP_PGPKEY.
P6KMIP_RAWKEYBLOCK rawSymmetricKey
This interface is an enumerator that returns a list of KMIP Application Specific Information values (...
Definition: p6kmipclient.h:495
P6KMIP_OBJECT_CERTNAME attribute.
Definition: p6kmipclient.h:298
P6KMIP_CHECKPARAMS.
P6KMIP_LEASE.
p6IDHKeyExchange * pDHKey
P6KMIP_MSGEXTENSION * pExtension
#define P6THIS_
Definition: p6defs.h:193
P6KMIP_TEMPLATEATTRIBUTE.
P6KMIP_CRYPTOOUT encrypt
P6KMIP_REGMDOPARAMS.
P6KMIP_TEMPLATEATTRIBUTE * pAttributes
Note that the server can return a KMIP_RESULT_PENDING status in the pResult parameter.
P6KMIP_ATTRIBUTE * pAttributeList
Definition: p6kmipclient.h:923
p6IKMIPAttribute * pAttributes
P6KMIP_REVOCATION revocation
Definition: p6kmipclient.h:394
P6KMIP_ATTRIBRESULT.
P6KMIP_KEYWRAPPINGDATA.
P6KMIP_JOINPARAMS.
P6KMIP_APPLICATION attribute.
p6IKMIPAttribute * pAttributes
P6KMIP_PGPBLOB pgpKey
P6KMIP_SIGNOUT signatureVerify
This interface is an enumerator that returns a list of KMIP enumeration type values.
Definition: p6kmipclient.h:90
p6IKMIPStr * pUniqueId
p6IKMIPExtInfo * pExtensions
Definition: p6kmipclient.h:884
P6KMIP_SPLITSPEC.
P6KMIP_CRYPTOPARAMS signParams
P6KMIP_OBJECT_SPLITKEY.
P6KMIP_TEMPLATEPARAMS.
P6KMIP_NEWOBJECT createSplitKeyObject
P6KMIP_LOCATEPARAMS.
Definition: p6kmipclient.h:918
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_OBJECT_ATTRIBUTE.
Definition: p6kmipclient.h:360
P6KMIP_CRYPTOIN cipherOp
int32_t P6INT32
Definition: p6types.h:76
P6KMIP_SERVERINFO.
Definition: p6kmipclient.h:878
P6KMIP_CHECKRESULT checkResult
P6KMIP_CERTID certificateIdentifier
Definition: p6kmipclient.h:376
P6KMIP_CAPABILITIES capabilities
Definition: p6kmipclient.h:889
#define P6THIS
Definition: p6defs.h:194
P6KMIP_WRAPPINGSPEC.
P6KMIP_MANAGED.
P6UINT32 sendTimeout
p6IKMIPStr * pUniqueId
P6KMIP_GETATTRIBPARAMS.
P6KMIP_WRAPPEDKEY.
P6KMIP_ATTRIBRESULT addAttribute
P6KMIP_WRAPKEYBLOCK wrappedPrivateKey
p6IKMIPEnum * pRegMethods
Definition: p6kmipclient.h:888
P6KMIP_WRAPPEDKEY wrapKey
p6IKMIPEnum * pOperations
Definition: p6kmipclient.h:879
p6IKMIPBinary * pBlob
p6IKMIPBinary * pAuthenticatedEncryptionTag
char P6CHAR
Narrow character type.
Definition: p6types.h:105
P6KMIP_EXTENSION.
p6IKMIPBinary * pBlob
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188
P6KMIP_MSGEXTENSION * pExtension