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 
389 typedef struct {
392  union {
470  } value;
471 } P6KMIP_OBJECT_ATTRIBUTE;
472 
473 
479 #undef INTERFACE
480 #define INTERFACE p6IKMIPAttribute
482 {
503 
517  P6DECLCOMMETHOD(next)(P6THIS_ P6UINT32* pType ) P6PURE;
518 
527  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
528 
539  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
540 };
541 // {E39E896D-8F38-456d-A1C7-17E22119A919}
542 #define IF_p6IKMIPAttribute {0xe39e896d,0x8f38,0x456d,{0xa1,0xc7,0x17,0xe2,0x21,0x19,0xa9,0x19}}
543 
544 // {1AB3DF9E-5B29-4372-89CA-163DD31B65FC}
545 #define COMP_p6KMIPAttribute {0x1ab3df9e,0x5b29,0x4372,{0x89,0xca,0x16,0x3d,0xd3,0x1b,0x65,0xfc}}
546 
547 
553 #undef INTERFACE
554 #define INTERFACE p6IKMIPNamespace
556 {
575  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_APPLICATION* pNamespace ) P6PURE;
576 
585  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
586 
597  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
598 };
599 // {AC4ABE06-E273-4c83-889D-5DDA6A023300}
600 #define IF_p6IKMIPNamespace {0xac4abe06,0xe273,0x4c83,{0x88,0x9d,0x5d,0xda,0x6a,0x2,0x33,0x0}}
601 
602 // {1E9FC2E2-F05C-478a-A098-D0087CC7C081}
603 #define COMP_p6KMIPNamespace {0x1e9fc2e2,0xf05c,0x478a,{0xa0,0x98,0xd0,0x8,0x7c,0xc7,0xc0,0x81}}
604 
605 
611 #undef INTERFACE
612 #define INTERFACE p6IKMIPName
614 {
632  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_NAME* pName ) P6PURE;
633 
642  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
643 
654  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
655 };
656 // {055E94DA-FB6A-4083-B55A-4449C2101D77}
657 #define IF_p6IKMIPName {0x55e94da,0xfb6a,0x4083,{0xb5,0x5a,0x44,0x49,0xc2,0x10,0x1d,0x77}}
658 
659 // {966CE299-DC38-488a-898A-B79BBD0C3228}
660 #define COMP_p6KMIPName {0x966ce299,0xdc38,0x488a,{0x89,0x8a,0xb7,0x9b,0xbd,0xc,0x32,0x28}}
661 
662 
668 #undef INTERFACE
669 #define INTERFACE p6IKMIPExtInfo
671 {
688  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_EXTENSION* pExtension ) P6PURE;
689 
698  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
699 
710  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
711 };
712 // {2D95D569-2BBE-4aaf-84FF-83890DA72F3F}
713 #define IF_p6IKMIPExtInfo {0x2d95d569,0x2bbe,0x4aaf,{0x84,0xff,0x83,0x89,0xd,0xa7,0x2f,0x3f}}
714 
715 // {0B49847A-1711-4e2b-A792-E98C0851A514}
716 #define COMP_p6KMIPExtInfo {0xb49847a,0x1711,0x4e2b,{0xa7,0x92,0xe9,0x8c,0x8,0x51,0xa5,0x14}}
717 
718 
737 typedef struct {
750 
757 #undef INTERFACE
758 #define INTERFACE p6IKMIPValInfo
760 {
777  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_VALIDATION* pValidation ) P6PURE;
778 
787  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
788 
799  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
800 };
801 // {21436801-8A79-4e72-BD15-86BB5A7927B6}
802 #define IF_p6IKMIPValInfo {0x21436801,0x8a79,0x4e72,{0xbd,0x15,0x86,0xbb,0x5a,0x79,0x27,0xb6}}
803 
804 // {67117C60-56FD-4793-9AB3-D786DE40390C}
805 #define COMP_p6KMIPValInfo {0x67117c60,0x56fd,0x4793,{0x9a,0xb3,0xd7,0x86,0xde,0x40,0x39,0xc}}
806 
807 
815 #undef INTERFACE
816 #define INTERFACE p6IKMIPProfileInfo
818 {
837  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_PROFILEINFO* pSupported ) P6PURE;
838 
847  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
848 
859  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
860 };
861 // {1731968A-F152-4452-B540-E2A0DFAC48D8}
862 #define IF_p6IKMIPProfileInfo {0x1731968a,0xf152,0x4452,{0xb5,0x40,0xe2,0xa0,0xdf,0xac,0x48,0xd8}}
863 
864 // {63CBCA9F-9F73-4a7d-A7E3-B53CB8121C80}
865 #define COMP_p6KMIPProfileInfo {0x63cbca9f,0x9f73,0x4a7d,{0xa7,0xe3,0xb5,0x3c,0xb8,0x12,0x1c,0x80}}
866 
867 
873 #undef INTERFACE
874 #define INTERFACE p6IKMIPRNGInfo
876 {
889 
898  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
899 
910  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
911 };
912 // {4C57BD96-7FA1-476c-8E8E-61980917B5B0}
913 #define IF_p6IKMIPRNGInfo {0x4c57bd96,0x7fa1,0x476c,{0x8e,0x8e,0x61,0x98,0x9,0x17,0xb5,0xb0}}
914 
915 // {E0E85DAC-42F1-4a3d-9CFA-60AFE24277A7}
916 #define COMP_p6KMIPRNGInfo {0xe0e85dac,0x42f1,0x4a3d,{0x9c,0xfa,0x60,0xaf,0xe2,0x42,0x77,0xa7}}
917 
918 
938 typedef struct {
951 
965 typedef struct {
974 
992 typedef struct {
997 
1001 
1014 typedef struct {
1017 
1021 
1031 typedef struct {
1036 
1049 typedef struct {
1057 
1067 typedef struct {
1072 
1088 typedef struct {
1094 
1097 
1098 
1111 typedef struct {
1119 
1131 typedef struct {
1138 
1147 typedef struct {
1151 
1162 typedef struct {
1168 
1187 typedef struct {
1191  union {
1200  } value;
1201 } P6KMIP_REGKEYPARAMS;
1202 
1215 typedef struct {
1223 
1236 typedef struct {
1244 
1256 typedef struct {
1263 
1276 typedef struct {
1280  union {
1283  } value;
1284 } P6KMIP_CERTPARAMS;
1285 
1300 typedef struct {
1306 
1320 typedef struct {
1329 
1340 typedef struct {
1346 
1356 typedef struct {
1361 
1372 typedef struct {
1378 
1387 typedef struct {
1391 
1400 typedef struct {
1404 
1415 typedef struct {
1419 } P6KMIP_LEASE;
1420 
1430 typedef struct {
1434 
1459 typedef struct {
1469 } P6KMIP_RESULT;
1470 
1484 typedef struct {
1493 
1502 typedef struct {
1506 
1515 typedef struct {
1519 
1530 typedef struct {
1536 
1545 typedef struct {
1549 
1559 typedef struct {
1563 } P6KMIP_BLOB;
1564 
1575 typedef struct {
1580 } P6KMIP_PGPBLOB;
1581 
1595 typedef struct {
1600  union {
1603  } value;
1604 } P6KMIP_KEYBLOCK;
1605 
1619 typedef struct {
1627 
1642 typedef struct {
1652 
1664 typedef struct {
1671 
1681 typedef struct {
1686 
1704 typedef struct {
1717 
1728 typedef struct {
1734 
1744 typedef struct {
1748 } P6KMIP_SIGNOUT;
1749 
1760 typedef struct {
1765 
1766 
1767 // Constants for remaining returned managed objects
1768 static const P6UINT32 KMIP_OBJECT_RAWCERT = 0x0014;
1769 static const P6UINT32 KMIP_OBJECT_RAWSYMKEY = 0x0015;
1770 static const P6UINT32 KMIP_OBJECT_RAWPUBKEY = 0x0016;
1771 static const P6UINT32 KMIP_OBJECT_RAWPRVKEY = 0x0017;
1772 static const P6UINT32 KMIP_OBJECT_RAWOBJ = 0x0018;
1773 static const P6UINT32 KMIP_OBJECT_WRAPSYMKEY = 0x0019;
1774 static const P6UINT32 KMIP_OBJECT_WRAPPUBKEY = 0x001A;
1775 static const P6UINT32 KMIP_OBJECT_WRAPPRVKEY = 0x001B;
1776 static const P6UINT32 KMIP_OBJECT_WRAPSECRET = 0x001C;
1777 static const P6UINT32 KMIP_OBJECT_WRAPSPLITKEY = 0x001D;
1778 static const P6UINT32 KMIP_OBJECT_PKCS12 = 0x001E;
1815 typedef struct {
1818  union {
1839  } value;
1840 } P6KMIP_MANAGED;
1841 
1842 
1888 typedef struct {
1892  union {
1928  } operation;
1929 } P6KMIP_BATCHRESULT;
1930 
1936 #undef INTERFACE
1937 #define INTERFACE p6IKMIPResult
1939 {
1953 
1962  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
1963 
1974  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
1975 };
1976 // {3DEBB8D7-6A9C-4e96-87E5-8CE94A0F4F4D}
1977 #define IF_p6IKMIPResult {0x3debb8d7,0x6a9c,0x4e96,{0x87,0xe5,0x8c,0xe9,0x4a,0xf,0x4f,0x4d}}
1978 
1979 // {E87F5FD3-7C14-4f47-BDBB-A3BBC20FBF97}
1980 #define COMP_p6KMIPResult {0xe87f5fd3,0x7c14,0x4f47,{0xbd,0xbb,0xa3,0xbb,0xc2,0xf,0xbf,0x97}}
1981 
1982 
2045 typedef struct {
2064 } P6KMIP_PREF;
2065 
2066 
2108 static const P6KMIPFLAGS P6KMIPFLG_NOFLAGS = 0x00000000;
2109 static const P6KMIPFLAGS P6KMIPFLG_TRACE_OFF = 0x00000002;
2110 static const P6KMIPFLAGS P6KMIPFLG_TRACE_BASIC = 0x00000004;
2111 static const P6KMIPFLAGS P6KMIPFLG_TRACE_MSGS = 0x00000008;
2112 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATXML = 0x00000010;
2113 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATJSON = 0x00000020;
2114 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATJSONML = 0x00000040;
2115 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATBINARY = 0x00000080;
2116 static const P6KMIPFLAGS P6KMIPFLG_TRACE_VERBOSE = 0x00000100;
2117 static const P6KMIPFLAGS P6KMIPFLG_DEBUG_MODE = 0x00000200;
2118 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATKMIPXML = 0x00000400;
2119 static const P6KMIPFLAGS P6KMIPFLG_TRACE_HTTPHEADERS = 0x00000800;
2120 static const P6KMIPFLAGS P6KMIPFLG_SERVER_TLS = 0x00001000;
2121 static const P6KMIPFLAGS P6KMIPFLG_TRACE_FORMATTTLV = 0x00002000;
2122 static const P6KMIPFLAGS P6KMIPFLG_TRACE_MSGBUILD = 0x00004000;
2123 
2124 
2136 #undef INTERFACE
2137 #define INTERFACE p6IKMIPClient
2139 {
2171  P6DECLCOMMETHOD(initialize)(P6THIS_ P6KMIPFLAGS flags, p6IKeystore* pCerts, P6KMIP_PREF preferences ) P6PURE;
2172 
2199  P6DECLCOMMETHOD(setSSLOptions)(P6THIS_ const P6WCHAR* pCiphers, P6SECURESOCKETFLAGS fSecureFlags ) P6PURE;
2200 
2222  P6DECLCOMMETHOD(open)(P6THIS_ const P6WCHAR* pHost, P6UINT32 port, P6KMIP_CREDENTIAL* pCredential ) P6PURE;
2223 
2231  P6DECLCOMMETHOD(close)(P6THIS) P6PURE;
2232 
2245  P6DECLCOMMETHOD(setAsynchronousIndicator)(P6THIS_ P6BOOL bAsynch ) P6PURE;
2246 
2263  P6DECLCOMMETHOD(extractExtension)(P6THIS_ P6UINT16 batchIndex, P6KMIP_RESPEXTENSION* pExtension ) P6PURE;
2264 
2281  P6DECLCOMMETHOD(addAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pAddResult, P6KMIP_RESULT* pResult ) P6PURE;
2282 
2299  P6DECLCOMMETHOD(addAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
2300 
2319  P6DECLCOMMETHOD(activateObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2320 
2339  P6DECLCOMMETHOD(archiveObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2340 
2360  P6DECLCOMMETHOD(cancel)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_RESULT* pResult, P6UINT32* pCancelResult ) P6PURE;
2361 
2378  P6DECLCOMMETHOD(certifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
2379 
2396  P6DECLCOMMETHOD(createKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
2397 
2415  P6DECLCOMMETHOD(createKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
2416 
2433  P6DECLCOMMETHOD(createSplitKey)(P6THIS_ P6KMIP_SPLITPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
2434 
2451  P6DECLCOMMETHOD(joinSplitKey)(P6THIS_ P6KMIP_JOINPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
2452 
2474  P6DECLCOMMETHOD(deleteAttributeObject)(P6THIS_ P6NCSTR uniqueId, P6NCSTR attributeName, P6INT32* pIndex, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBRESULT* pDelResult, P6KMIP_RESULT* pResult ) P6PURE;
2475 
2492  P6DECLCOMMETHOD(deriveKeyObject)(P6THIS_ P6KMIP_DERIVEPARAMS keyParams, P6KMIP_NEWOBJECT* pDerived, P6KMIP_RESULT* pResult ) P6PURE;
2493 
2512  P6DECLCOMMETHOD(destroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2513 
2532  P6DECLCOMMETHOD(discoverVersions)(P6THIS_ P6BOOL bClientVersions, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPVersions** ppVersions, P6KMIP_RESULT* pResult ) P6PURE;
2533 
2550  P6DECLCOMMETHOD(getAttributes)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_ATTRIBRESULT* pGetResult, P6KMIP_RESULT* pResult ) P6PURE;
2551 
2569  P6DECLCOMMETHOD(getAttributesAndGet)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_GETPARAMS get, p6IKMIPResult** pResult ) P6PURE;
2570 
2589  P6DECLCOMMETHOD(getAttributeList)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBUTENAMES* pName, P6KMIP_RESULT* pResult ) P6PURE;
2590 
2607  P6DECLCOMMETHOD(getObject)(P6THIS_ P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pResult ) P6PURE;
2608 
2629  P6DECLCOMMETHOD(checkAndGet)(P6THIS_ P6KMIP_CHECKPARAMS check, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
2630 
2651  P6DECLCOMMETHOD(getUsageAllocation)(P6THIS_ P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2652 
2679  P6DECLCOMMETHOD(checkAndGetUsageAllocation)(P6THIS_ P6KMIP_CHECKPARAMS check, P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
2680 
2697  P6DECLCOMMETHOD(locateObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2698 
2720  P6DECLCOMMETHOD(locateAndCheckObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_CHECKPARAMS check, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult, P6KMIP_CHECKRESULT* pCheck ) P6PURE;
2721 
2742  P6DECLCOMMETHOD(locateAndGetObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pLocateResult, P6KMIP_RESULT* pGetResult ) P6PURE;
2743 
2761  P6DECLCOMMETHOD(locateAndGetAttributes)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETATTRIBPARAMS attrib, p6IKMIPResult** pResult ) P6PURE;
2762 
2779  P6DECLCOMMETHOD(modifyAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pModResult, P6KMIP_RESULT* pResult ) P6PURE;
2780 
2798  P6DECLCOMMETHOD(modifyAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
2799 
2819  P6DECLCOMMETHOD(obtainLease)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_LEASE* pLease, P6KMIP_RESULT* pResult ) P6PURE;
2820 
2839  P6DECLCOMMETHOD(poll)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPResult** pResult ) P6PURE;
2840 
2860  P6DECLCOMMETHOD(queryServer)(P6THIS_ P6UINT32 queryCount, P6UINT32* pQueryFunctions, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_SERVERINFO* pCapabilities, P6KMIP_RESULT* pResult ) P6PURE;
2861 
2878  P6DECLCOMMETHOD(reCertifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
2879 
2898  P6DECLCOMMETHOD(recoverObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
2899 
2918  P6DECLCOMMETHOD(registerCertificateObject)(P6THIS_ P6KMIP_CERTPARAMS certificate, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2919 
2939  P6DECLCOMMETHOD(registerKeyObject)(P6THIS_ P6KMIP_REGKEYPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2940 
2959  P6DECLCOMMETHOD(registerMDOObject)(P6THIS_ P6KMIP_REGMDOPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2960 
2979  P6DECLCOMMETHOD(registerSecretDataObject)(P6THIS_ P6KMIP_SECRETPARAMS secret, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
2980 
2999  P6DECLCOMMETHOD(registerOpaqueObject)(P6THIS_ P6KMIP_OPAQUEPARAMS objParams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
3000 
3019  P6DECLCOMMETHOD(registerTemplateObject)(P6THIS_ P6KMIP_TEMPLATEPARAMS tparams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
3020 
3037  P6DECLCOMMETHOD(reKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pReKey, P6KMIP_RESULT* pResult ) P6PURE;
3038 
3056  P6DECLCOMMETHOD(reKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
3057 
3078  P6DECLCOMMETHOD(revokeObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3079 
3100  P6DECLCOMMETHOD(revokeAndDestroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3101 
3118  P6DECLCOMMETHOD(encrypt)(P6THIS_ P6KMIP_ENCRYPTPARAMS encryptParams, P6KMIP_CRYPTOOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
3119 
3136  P6DECLCOMMETHOD(decrypt)(P6THIS_ P6KMIP_ENCRYPTPARAMS decryptParams, P6KMIP_CRYPTOOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
3137 
3154  P6DECLCOMMETHOD(sign)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
3155 
3172  P6DECLCOMMETHOD(signatureVerify)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
3173 
3190  P6DECLCOMMETHOD(MAC)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
3191 
3208  P6DECLCOMMETHOD(MACVerify)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
3209 
3227  P6DECLCOMMETHOD(RNGRetrieve)(P6THIS_ P6INT32 dataLength, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pData, P6KMIP_RESULT* pResult ) P6PURE;
3228 
3246  P6DECLCOMMETHOD(RNGSeed)(P6THIS_ P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension, P6INT32* pDataLength, P6KMIP_RESULT* pResult ) P6PURE;
3247 
3266  P6DECLCOMMETHOD(hash)(P6THIS_ P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pHash, P6KMIP_RESULT* pResult ) P6PURE;
3267 
3284  P6DECLCOMMETHOD(validate)(P6THIS_ P6KMIP_VALIDATEPARAMS chain, P6UINT32* pValidity, P6KMIP_RESULT* pResult ) P6PURE;
3285 
3299  P6DECLCOMMETHOD(serverSupportsOperation)(P6THIS_ P6UINT32 opCode ) P6PURE;
3300 
3314  P6DECLCOMMETHOD(serverSupportsObject)(P6THIS_ P6UINT32 objectType ) P6PURE;
3315 
3327  P6DECLCOMMETHOD(getResponseDOM)(P6THIS_ p6IDOMXML** pResponse ) P6PURE;
3328 };
3329 
3330 // {EAC45E0F-0C17-481c-801D-613EBE000581}
3331 #define IF_p6IKMIPClient {0xeac45e0f,0xc17,0x481c,{0x80,0x1d,0x61,0x3e,0xbe,0x0,0x5,0x81}}
3332 
3333 // {05AF5ED8-C94F-436b-943F-F13744FD2DFD}
3334 #define COMP_p6KMIPClient {0x5af5ed8,0xc94f,0x436b,{0x94,0x3f,0xf1,0x37,0x44,0xfd,0x2d,0xfd}}
3335 
3336 
3337 
3349 #undef INTERFACE
3350 #define INTERFACE p6IKMIPClient2
3352 {
3384  P6DECLCOMMETHOD(initialize)(P6THIS_ P6KMIPFLAGS flags, p6IKeystore* pCerts, P6KMIP_PREF preferences ) P6PURE;
3385 
3410  P6DECLCOMMETHOD(setSSLOptions)(P6THIS_ const P6WCHAR* pCiphers, P6SECURESOCKETFLAGS fSecureFlags ) P6PURE;
3411 
3435  P6DECLCOMMETHOD(open2)(P6THIS_ const P6WCHAR* pHost, P6UINT32 port, P6KMIP_CREDENTIAL* pCredentials, P6UINT32 numCreds ) P6PURE;
3436 
3444  P6DECLCOMMETHOD(close)(P6THIS) P6PURE;
3445 
3458  P6DECLCOMMETHOD(setAsynchronousIndicator)(P6THIS_ P6BOOL bAsynch ) P6PURE;
3459 
3474  P6DECLCOMMETHOD(resetCredentials)(P6THIS_ P6KMIP_CREDENTIAL* pCredentials, P6UINT32 numCreds ) P6PURE;
3475 
3492  P6DECLCOMMETHOD(extractExtension)(P6THIS_ P6UINT16 batchIndex, P6KMIP_RESPEXTENSION* pExtension ) P6PURE;
3493 
3510  P6DECLCOMMETHOD(addAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pAddResult, P6KMIP_RESULT* pResult ) P6PURE;
3511 
3528  P6DECLCOMMETHOD(addAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
3529 
3548  P6DECLCOMMETHOD(activateObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3549 
3568  P6DECLCOMMETHOD(archiveObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3569 
3589  P6DECLCOMMETHOD(cancel)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_RESULT* pResult, P6UINT32* pCancelResult ) P6PURE;
3590 
3607  P6DECLCOMMETHOD(certifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
3608 
3625  P6DECLCOMMETHOD(createKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
3626 
3644  P6DECLCOMMETHOD(createKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
3645 
3662  P6DECLCOMMETHOD(createSplitKey)(P6THIS_ P6KMIP_SPLITPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
3663 
3680  P6DECLCOMMETHOD(joinSplitKey)(P6THIS_ P6KMIP_JOINPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
3681 
3703  P6DECLCOMMETHOD(deleteAttributeObject)(P6THIS_ P6NCSTR uniqueId, P6NCSTR attributeName, P6INT32* pIndex, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBRESULT* pDelResult, P6KMIP_RESULT* pResult ) P6PURE;
3704 
3721  P6DECLCOMMETHOD(deriveKeyObject)(P6THIS_ P6KMIP_DERIVEPARAMS keyParams, P6KMIP_NEWOBJECT* pDerived, P6KMIP_RESULT* pResult ) P6PURE;
3722 
3741  P6DECLCOMMETHOD(destroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3742 
3761  P6DECLCOMMETHOD(discoverVersions)(P6THIS_ P6BOOL bClientVersions, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPVersions** ppVersions, P6KMIP_RESULT* pResult ) P6PURE;
3762 
3779  P6DECLCOMMETHOD(getAttributes)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_ATTRIBRESULT* pGetResult, P6KMIP_RESULT* pResult ) P6PURE;
3780 
3798  P6DECLCOMMETHOD(getAttributesAndGet)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_GETPARAMS get, p6IKMIPResult** pResult ) P6PURE;
3799 
3818  P6DECLCOMMETHOD(getAttributeList)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBUTENAMES* pName, P6KMIP_RESULT* pResult ) P6PURE;
3819 
3836  P6DECLCOMMETHOD(getObject)(P6THIS_ P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pResult ) P6PURE;
3837 
3858  P6DECLCOMMETHOD(checkAndGet)(P6THIS_ P6KMIP_CHECKPARAMS check, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
3859 
3880  P6DECLCOMMETHOD(getUsageAllocation)(P6THIS_ P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3881 
3908  P6DECLCOMMETHOD(checkAndGetUsageAllocation)(P6THIS_ P6KMIP_CHECKPARAMS check, P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
3909 
3926  P6DECLCOMMETHOD(locateObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
3927 
3949  P6DECLCOMMETHOD(locateAndCheckObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_CHECKPARAMS check, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult, P6KMIP_CHECKRESULT* pCheck ) P6PURE;
3950 
3971  P6DECLCOMMETHOD(locateAndGetObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pLocateResult, P6KMIP_RESULT* pGetResult ) P6PURE;
3972 
3990  P6DECLCOMMETHOD(locateAndGetAttributes)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETATTRIBPARAMS attrib, p6IKMIPResult** pResult ) P6PURE;
3991 
4008  P6DECLCOMMETHOD(modifyAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pModResult, P6KMIP_RESULT* pResult ) P6PURE;
4009 
4027  P6DECLCOMMETHOD(modifyAttributes)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, p6IKMIPResult** pResult ) P6PURE;
4028 
4048  P6DECLCOMMETHOD(obtainLease)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_LEASE* pLease, P6KMIP_RESULT* pResult ) P6PURE;
4049 
4068  P6DECLCOMMETHOD(poll)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPResult** pResult ) P6PURE;
4069 
4089  P6DECLCOMMETHOD(queryServer)(P6THIS_ P6UINT32 queryCount, P6UINT32* pQueryFunctions, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_SERVERINFO* pCapabilities, P6KMIP_RESULT* pResult ) P6PURE;
4090 
4107  P6DECLCOMMETHOD(reCertifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
4108 
4127  P6DECLCOMMETHOD(recoverObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4128 
4147  P6DECLCOMMETHOD(registerCertificateObject)(P6THIS_ P6KMIP_CERTPARAMS certificate, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4148 
4167  P6DECLCOMMETHOD(registerKeyObject)(P6THIS_ P6KMIP_REGKEYPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4168 
4187  P6DECLCOMMETHOD(registerMDOObject)(P6THIS_ P6KMIP_REGMDOPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4188 
4207  P6DECLCOMMETHOD(registerSecretDataObject)(P6THIS_ P6KMIP_SECRETPARAMS secret, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4208 
4227  P6DECLCOMMETHOD(registerOpaqueObject)(P6THIS_ P6KMIP_OPAQUEPARAMS objParams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4228 
4247  P6DECLCOMMETHOD(registerTemplateObject)(P6THIS_ P6KMIP_TEMPLATEPARAMS tparams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
4248 
4265  P6DECLCOMMETHOD(reKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pReKey, P6KMIP_RESULT* pResult ) P6PURE;
4266 
4284  P6DECLCOMMETHOD(reKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
4285 
4306  P6DECLCOMMETHOD(revokeObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4307 
4328  P6DECLCOMMETHOD(revokeAndDestroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4329 
4359  P6DECLCOMMETHOD(encrypt2)(P6THIS_ P6KMIP_ENCRYPTPARAMS encryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_CRYPTOOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
4360 
4390  P6DECLCOMMETHOD(decrypt2)(P6THIS_ P6KMIP_ENCRYPTPARAMS decryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_CRYPTOOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
4391 
4420  P6DECLCOMMETHOD(sign2)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
4421 
4450  P6DECLCOMMETHOD(signatureVerify2)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
4451 
4480  P6DECLCOMMETHOD(MAC2)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
4481 
4510  P6DECLCOMMETHOD(MACVerify2)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
4511 
4529  P6DECLCOMMETHOD(RNGRetrieve)(P6THIS_ P6INT32 dataLength, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pData, P6KMIP_RESULT* pResult ) P6PURE;
4530 
4548  P6DECLCOMMETHOD(RNGSeed)(P6THIS_ P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension, P6INT32* pDataLength, P6KMIP_RESULT* pResult ) P6PURE;
4549 
4581  P6DECLCOMMETHOD(hash2)(P6THIS_ P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pHash, P6KMIP_RESULT* pResult ) P6PURE;
4582 
4599  P6DECLCOMMETHOD(validate)(P6THIS_ P6KMIP_VALIDATEPARAMS chain, P6UINT32* pValidity, P6KMIP_RESULT* pResult ) P6PURE;
4600 
4614  P6DECLCOMMETHOD(serverSupportsOperation)(P6THIS_ P6UINT32 opCode ) P6PURE;
4615 
4629  P6DECLCOMMETHOD(serverSupportsObject)(P6THIS_ P6UINT32 objectType ) P6PURE;
4630 
4644  P6DECLCOMMETHOD(serverSupportedCapabilities)(P6THIS_ P6KMIP_CAPABILITIES* pCapabilities ) P6PURE;
4645 
4657  P6DECLCOMMETHOD(getResponseDOM)(P6THIS_ p6IDOMXML** pResponse ) P6PURE;
4658 
4672  P6DECLCOMMETHOD(setProtocolVersion)(P6THIS_ const P6CHAR* pVersion ) P6PURE;
4673 
4694  P6DECLCOMMETHOD(getClientCredentials)(P6THIS_ P6KMIP_CREDENTIAL* pOneTime, p6IKeystore* pKeystore, P6KMIP_MANAGED* pPublic ) P6PURE;
4695 };
4696 
4697 // {CF0EF246-9328-485c-9FD6-42D8452099BB}
4698 #define IF_p6IKMIPClient2 {0xcf0ef246,0x9328,0x485c,{0x9f,0xd6,0x42,0xd8,0x45,0x20,0x99,0xbb}}
4699 
4700 
4701 
4715 #undef INTERFACE
4716 #define INTERFACE p6IKMIPClient3
4718 {
4750  P6DECLCOMMETHOD(initialize)(P6THIS_ P6KMIPFLAGS flags, p6IKeystore* pCerts, P6KMIP_PREF preferences ) P6PURE;
4751 
4776  P6DECLCOMMETHOD(setSSLOptions)(P6THIS_ const P6WCHAR* pCiphers, P6SECURESOCKETFLAGS fSecureFlags ) P6PURE;
4777 
4801  P6DECLCOMMETHOD(open2)(P6THIS_ const P6WCHAR* pHost, P6UINT32 port, P6KMIP_CREDENTIAL* pCredentials, P6UINT32 numCreds ) P6PURE;
4802 
4810  P6DECLCOMMETHOD(close)(P6THIS) P6PURE;
4811 
4824  P6DECLCOMMETHOD(setAsynchronousIndicator)(P6THIS_ P6BOOL bAsynch ) P6PURE;
4825 
4840  P6DECLCOMMETHOD(resetCredentials)(P6THIS_ P6KMIP_CREDENTIAL* pCredentials, P6UINT32 numCreds ) P6PURE;
4841 
4858  P6DECLCOMMETHOD(extractExtension)(P6THIS_ P6UINT16 batchIndex, P6KMIP_RESPEXTENSION* pExtension ) P6PURE;
4859 
4876  P6DECLCOMMETHOD(addAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pAddResult, P6KMIP_RESULT* pResult ) P6PURE;
4877 
4895  P6DECLCOMMETHOD(addAttributes2)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, P6KMIP_MUTLIBATCHPARAMS* pOptions, p6IKMIPResult** pResult ) P6PURE;
4896 
4915  P6DECLCOMMETHOD(activateObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4916 
4935  P6DECLCOMMETHOD(archiveObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
4936 
4956  P6DECLCOMMETHOD(cancel)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_RESULT* pResult, P6UINT32* pCancelResult ) P6PURE;
4957 
4974  P6DECLCOMMETHOD(certifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
4975 
4992  P6DECLCOMMETHOD(createKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
4993 
5011  P6DECLCOMMETHOD(createSecretDataObject)(P6THIS_ P6KMIP_SERVERSECRETDATA objParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
5012 
5032  P6DECLCOMMETHOD(createSecretDataAndGetObject)(P6THIS_ P6KMIP_SERVERSECRETDATA objParams, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pCreateResult, P6KMIP_RESULT* pGetResult ) P6PURE;
5033 
5051  P6DECLCOMMETHOD(createKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
5052 
5069  P6DECLCOMMETHOD(createSplitKey)(P6THIS_ P6KMIP_SPLITPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
5070 
5087  P6DECLCOMMETHOD(joinSplitKey)(P6THIS_ P6KMIP_JOINPARAMS keyParams, P6KMIP_NEWOBJECT* pCreate, P6KMIP_RESULT* pResult ) P6PURE;
5088 
5110  P6DECLCOMMETHOD(deleteAttributeObject)(P6THIS_ P6NCSTR uniqueId, P6NCSTR attributeName, P6INT32* pIndex, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBRESULT* pDelResult, P6KMIP_RESULT* pResult ) P6PURE;
5111 
5128  P6DECLCOMMETHOD(deriveKeyObject)(P6THIS_ P6KMIP_DERIVEPARAMS keyParams, P6KMIP_NEWOBJECT* pDerived, P6KMIP_RESULT* pResult ) P6PURE;
5129 
5148  P6DECLCOMMETHOD(destroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5149 
5168  P6DECLCOMMETHOD(discoverVersions)(P6THIS_ P6BOOL bClientVersions, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPVersions** ppVersions, P6KMIP_RESULT* pResult ) P6PURE;
5169 
5186  P6DECLCOMMETHOD(getAttributes)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_ATTRIBRESULT* pGetResult, P6KMIP_RESULT* pResult ) P6PURE;
5187 
5205  P6DECLCOMMETHOD(getAttributesAndGet)(P6THIS_ P6KMIP_GETATTRIBPARAMS attrib, P6KMIP_GETPARAMS get, p6IKMIPResult** pResult ) P6PURE;
5206 
5225  P6DECLCOMMETHOD(getAttributeList)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_ATTRIBUTENAMES* pName, P6KMIP_RESULT* pResult ) P6PURE;
5226 
5243  P6DECLCOMMETHOD(getObject)(P6THIS_ P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pResult ) P6PURE;
5244 
5265  P6DECLCOMMETHOD(checkAndGet)(P6THIS_ P6KMIP_CHECKPARAMS check, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
5266 
5287  P6DECLCOMMETHOD(getUsageAllocation)(P6THIS_ P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5288 
5315  P6DECLCOMMETHOD(checkAndGetUsageAllocation)(P6THIS_ P6KMIP_CHECKPARAMS check, P6NCSTR uniqueId, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_CHECKRESULT* pCheck, P6KMIP_RESULT* pResult ) P6PURE;
5316 
5333  P6DECLCOMMETHOD(locateObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5334 
5356  P6DECLCOMMETHOD(locateAndCheckObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_CHECKPARAMS check, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult, P6KMIP_CHECKRESULT* pCheck ) P6PURE;
5357 
5378  P6DECLCOMMETHOD(locateAndGetObject)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETPARAMS get, P6KMIP_MANAGED* pObject, P6KMIP_RESULT* pLocateResult, P6KMIP_RESULT* pGetResult ) P6PURE;
5379 
5397  P6DECLCOMMETHOD(locateAndGetAttributes)(P6THIS_ P6KMIP_LOCATEPARAMS locate, P6KMIP_GETATTRIBPARAMS attrib, p6IKMIPResult** pResult ) P6PURE;
5398 
5415  P6DECLCOMMETHOD(modifyAttributeObject)(P6THIS_ P6KMIP_ATTRIBPARAMS attribute, P6KMIP_ATTRIBRESULT* pModResult, P6KMIP_RESULT* pResult ) P6PURE;
5416 
5435  P6DECLCOMMETHOD(modifyAttributes2)(P6THIS_ P6UINT32 attribCount, P6KMIP_ATTRIBPARAMS* pAttributes, P6KMIP_MUTLIBATCHPARAMS* pOptions, p6IKMIPResult** pResult ) P6PURE;
5436 
5456  P6DECLCOMMETHOD(obtainLease)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_LEASE* pLease, P6KMIP_RESULT* pResult ) P6PURE;
5457 
5476  P6DECLCOMMETHOD(poll)(P6THIS_ P6BCSTR asynchCorrelation, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPResult** pResult ) P6PURE;
5477 
5497  P6DECLCOMMETHOD(queryServer)(P6THIS_ P6UINT32 queryCount, P6UINT32* pQueryFunctions, P6KMIP_MSGEXTENSION* pExtension, P6KMIP_SERVERINFO* pCapabilities, P6KMIP_RESULT* pResult ) P6PURE;
5498 
5515  P6DECLCOMMETHOD(reCertifyObject)(P6THIS_ P6KMIP_CERTIFYPARAMS certifyParams, P6KMIP_NEWOBJECT* pCertify, P6KMIP_RESULT* pResult ) P6PURE;
5516 
5535  P6DECLCOMMETHOD(recoverObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5536 
5555  P6DECLCOMMETHOD(registerCertificateObject)(P6THIS_ P6KMIP_CERTPARAMS certificate, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5556 
5575  P6DECLCOMMETHOD(registerKeyObject)(P6THIS_ P6KMIP_REGKEYPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5576 
5595  P6DECLCOMMETHOD(registerMDOObject)(P6THIS_ P6KMIP_REGMDOPARAMS key, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5596 
5615  P6DECLCOMMETHOD(registerSecretDataObject)(P6THIS_ P6KMIP_SECRETPARAMS secret, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5616 
5635  P6DECLCOMMETHOD(registerOpaqueObject)(P6THIS_ P6KMIP_OPAQUEPARAMS objParams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5636 
5655  P6DECLCOMMETHOD(registerTemplateObject)(P6THIS_ P6KMIP_TEMPLATEPARAMS tparams, P6KMIP_NEWOBJECT* pRegResult, P6KMIP_RESULT* pResult ) P6PURE;
5656 
5673  P6DECLCOMMETHOD(reKeyObject)(P6THIS_ P6KMIP_KEYPARAMS keyParams, P6KMIP_NEWOBJECT* pReKey, P6KMIP_RESULT* pResult ) P6PURE;
5674 
5692  P6DECLCOMMETHOD(reKeyPairObjects)(P6THIS_ P6KMIP_PAIRPARAMS pairParams, P6KMIP_NEWOBJECT* pPrivate, P6KMIP_NEWOBJECT* pPublic, P6KMIP_RESULT* pResult ) P6PURE;
5693 
5714  P6DECLCOMMETHOD(revokeObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5715 
5736  P6DECLCOMMETHOD(revokeAndDestroyObject)(P6THIS_ P6NCSTR uniqueId, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPStr** ppUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
5737 
5767  P6DECLCOMMETHOD(encrypt2)(P6THIS_ P6KMIP_ENCRYPTPARAMS encryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_CRYPTOOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
5768 
5798  P6DECLCOMMETHOD(decrypt2)(P6THIS_ P6KMIP_ENCRYPTPARAMS decryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_CRYPTOOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
5799 
5828  P6DECLCOMMETHOD(sign2)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
5829 
5858  P6DECLCOMMETHOD(signatureVerify2)(P6THIS_ P6KMIP_SIGNPARAMS signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
5859 
5888  P6DECLCOMMETHOD(MAC2)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pCipherText, P6KMIP_RESULT* pResult ) P6PURE;
5889 
5918  P6DECLCOMMETHOD(MACVerify2)(P6THIS_ P6KMIP_SIGNPARAMS macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_SIGNOUT* pClearText, P6KMIP_RESULT* pResult ) P6PURE;
5919 
5937  P6DECLCOMMETHOD(RNGRetrieve)(P6THIS_ P6INT32 dataLength, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pData, P6KMIP_RESULT* pResult ) P6PURE;
5938 
5956  P6DECLCOMMETHOD(RNGSeed)(P6THIS_ P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension, P6INT32* pDataLength, P6KMIP_RESULT* pResult ) P6PURE;
5957 
5989  P6DECLCOMMETHOD(hash2)(P6THIS_ P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension, p6IKMIPBinary** pHash, P6KMIP_RESULT* pResult ) P6PURE;
5990 
6007  P6DECLCOMMETHOD(validate)(P6THIS_ P6KMIP_VALIDATEPARAMS chain, P6UINT32* pValidity, P6KMIP_RESULT* pResult ) P6PURE;
6008 
6022  P6DECLCOMMETHOD(serverSupportsOperation)(P6THIS_ P6UINT32 opCode ) P6PURE;
6023 
6037  P6DECLCOMMETHOD(serverSupportsObject)(P6THIS_ P6UINT32 objectType ) P6PURE;
6038 
6052  P6DECLCOMMETHOD(serverSupportedCapabilities)(P6THIS_ P6KMIP_CAPABILITIES* pCapabilities ) P6PURE;
6053 
6065  P6DECLCOMMETHOD(getResponseDOM)(P6THIS_ p6IDOMXML** pResponse ) P6PURE;
6066 
6080  P6DECLCOMMETHOD(setProtocolVersion)(P6THIS_ const P6CHAR* pVersion ) P6PURE;
6081 
6102  P6DECLCOMMETHOD(getClientCredentials)(P6THIS_ P6KMIP_CREDENTIAL* pOneTime, p6IKeystore* pKeystore, P6KMIP_MANAGED* pPublic ) P6PURE;
6103 
6119  P6DECLCOMMETHOD(setClientCorrelationValue)(P6THIS_ P6NCSTR* pCorrelation ) P6PURE;
6120 
6138  P6DECLCOMMETHOD(getServerCorrelationValue)(P6THIS_ p6IKMIPStr** pCorrelation ) P6PURE;
6139 };
6140 
6141 // {A13A3907-5945-4604-AC97-9E6589F90147}
6142 #define IF_p6IKMIPClient3 {0xa13a3907,0x5945,0x4604,{0xac,0x97,0x9e,0x65,0x89,0xf9,0x1,0x47}}
6143 
6144 
6145 
6156 #undef INTERFACE
6157 #define INTERFACE p6IKMIPAdmin
6159 {
6176  P6DECLCOMMETHOD(exportObject)(P6THIS_ P6KMIP_EXPORTPARAMS* pParams, P6KMIP_MANAGED* pObject, p6IKMIPAttribute** pAttribute, P6KMIP_RESULT* pResult ) P6PURE;
6177 
6194  P6DECLCOMMETHOD(importObject)(P6THIS_ P6KMIP_IMPORTPARAMS* pObject, p6IKMIPStr** pUniqueId, P6KMIP_RESULT* pResult ) P6PURE;
6195 };
6196 
6197 // {2D59B4FD-FA8C-48EA-BE95-1AF727694EAE}
6198 #define IF_p6IKMIPAdmin {0x2d59b4fd,0xfa8c,0x48ea,{0xbe,0x95,0x1a,0xf7,0x27,0x69,0x4e,0xae}}
6199 
6200 
6201 #ifdef __cplusplus
6202 } // extern "C"
6203 } // namespace
6204 #endif
6205 
6206 #endif
6207 
P6KMIP_TEMPLATEATTRIBUTE attributes
P6KMIP_ATTRIBUTE * pAttributeList
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_IMPORTOBJECT importObject
P6KMIP_ATTRIBPARAMS.
P6KMIP_KEYWRAPPING * pWrapInfo
P6KMIP_DOMAINPARAMS.
P6KMIP_DOMAINPARAMS dParams
Definition: p6kmipclient.h:399
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:759
<div class="p6box"> This interface has been depricated in favor of p6IKeystore3.
Definition: p6keystore.h:689
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:817
P6KMIP_VERSION.
P6KMIP_BLOB.
Const Binary string.
Definition: p6types.h:199
p6IKMIPAttribute * pTemplate
P6KMIP_NEWOBJECT privateKeyInfo
P6KMIP_MSGEXTENSION * pExtension
Definition: p6kmipclient.h:996
P6KMIP_RAWCERT rawCertificate
P6KMIP_CRYPTOSTREAM.
p6IKMIPValInfo * pValidations
Definition: p6kmipclient.h:946
P6KMIP_ATTRIBRESULT deleteAttribute
P6KMIP_MSGEXTENSION * pExtension
A convience structure to pass around a narrow string along with its length.
Definition: p6types.h:246
P6KMIP_SPLITSPEC splitdef
This interface is an enumerator that returns a list of KMIP P6KMIP_VERSION values.
Definition: p6kmipclient.h:39
P6KMIP_PAIRPARAMS.
Definition: p6kmipclient.h:992
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:403
P6KMIP_TEMPLATEATTRIBUTE * pAttributes
P6KMIP_MSGEXTENSION * pExtension
Definition: p6kmipclient.h:971
P6KMIP_ATTRIBUTENAMES.
P6KMIP_REVOCATION attribute.
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_MSGEXTENSION.
P6KMIP_WRAPSECRETDATA.
p6IKMIPBinary * pAsynchCorrelation
#define P6DECLAREICOM
Definition: p6defs.h:191
P6KMIP_ATTRIBRESULT getAttributes
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_BLOB secretData
P6R's keystore component to manage keys, certificates, and blobs.
P6KMIP_TEMPLATEATTRIBUTE * pPrivateKeyAttributes
Definition: p6kmipclient.h:994
p6IKMIPStr * pUniqueId
P6KMIP_ATTRIBUTE.
p6IKMIPStr * pMessage
#define P6PURE
Definition: p6defs.h:192
P6KMIP_WRAPKEYBLOCK wrappedPublicKey
p6IKMIPStr * pVendorId
Definition: p6kmipclient.h:941
P6KMIP_SIGNIN.
P6KMIP_SPLITPARAMS.
p6IKMIPRNGInfo * pRNGs
Definition: p6kmipclient.h:945
CK_OBJECT_CLASS objectType
Definition: pkcs11p6r.h:142
P6KMIP_NEWOBJECT reKeyObject
P6KMIP_CRYPTOIN.
p6IKMIPStr * pUniqueId
P6KMIP_USAGELIMITS usageLimits
Definition: p6kmipclient.h:413
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
P6KMIP_PREF.
P6KMIP_NAME attribute.
Definition: p6kmipencoder.h:48
P6KMIP_NEWOBJECT createObject
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_OBJECT_CERTNAME certificateSubject
Definition: p6kmipclient.h:406
P6KMIP_NEWKEYPAIR keyPairObjects
P6KMIP_DRIVEKEY.
P6KMIP_NEWOBJECT certifyObject
P6KMIP_DIGEST attribute.
P6KMIP_TEMPLATEATTRIBUTE attributes
p6IKMIPStr * pNamespaces
Definition: p6kmipclient.h:943
P6KMIP_KEYPARAMS.
p6IKMIPBinary * pNonceId
P6UINT32 validityIndicator
P6UINT32 maxTTLVSize
P6KMIP_BLOB opaqueObject
P6UINT32 * pKeyCompression
P6KMIP_CRYPTOPARAMS cParams
Definition: p6kmipclient.h:398
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_SIGNOUT.
p6IKMIPBinary * pServerInfo
Definition: p6kmipclient.h:942
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_PGPBLOB.
P6UINT32 symmetricKeyEncoding
P6KMIP_SPLITKEY.
p6IKMIPBinary * pPrimeFieldSize
P6KMIP_CERTID attribute.
This interface is meant to contain KMIP operations typically used by an administrator.
P6UINT16 asynchronous
p6IKMIPEnum * pAttestationType
P6R's interface of the DOM parser.
P6KMIP_TEMPLATEATTRIBUTE attributes
p6IKMIPProfileInfo * pProfiles
Definition: p6kmipclient.h:947
P6UINT32 * pAttestationTypes
P6KMIP_CRYPTOPARAMS attribute.
Definition: p6kmipencoder.h:76
P6KMIP_BATCHRESULT.
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_OBJECT_CERTNAME certificateIssuer
Definition: p6kmipclient.h:407
P6KMIP_VALIDATION.
Definition: p6kmipclient.h:737
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:428
P6KMIP_RESULT.
P6UINT32 initialBufCount
P6KMIP_VALIDATEPARAMS.
p6IKMIPBinary * pData
This interface is an enumerator that returns a list of KMIP attribute values.
Definition: p6kmipclient.h:481
P6KMIP_WRAPSECRETDATA wrappedSecretData
p6IKMIPBinary * pNonceValue
P6KMIP_CRYPTOOUT decrypt
p6IKMIPEnum * pObjects
Definition: p6kmipclient.h:940
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:875
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.
P6KMIP_X509CERTID x509certificateIdentifier
Definition: p6kmipclient.h:402
Binary string.
Definition: p6types.h:185
P6KMIP_SERVERSECRETDATA.
P6UINT32 connectTimeout
P6KMIP_KEYBLOCK publicKey
P6KMIP_RAWKEYBLOCK rawPublicKey
P6KMIP_RNGPARAMS.
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_MSGEXTENSION * pExtension
const P6CHAR * pVersion
it may not contain all the symbols used by this software If you run into undefined symbol please let us know and we can provide you a build that will be compatible with your specific value
Definition: readme.txt:85
p6IKMIPStr * pUniqueId
P6UINT32 maxBufferSize
This interface is an enumerator that returns a list of KMIP Extension Information values (i...
Definition: p6kmipclient.h:670
P6KMIP_GETPARAMS.
P6KMIP_IMPORTOBJECT.
P6KMIP_PROFILEINFO attribute.
P6KMIP_NEWOBJECT registerObject
P6KMIP_TEMPLATEATTRIBUTE * pCommonAttributes
Definition: p6kmipclient.h:993
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_TEMPLATEATTRIBUTE attributes
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_MUTLIBATCHPARAMS.
P6KMIP_CRYTOOUT.
p6IKMIPStr * pUsageAllocation
P6UINT32 P6SECURESOCKETFLAGS
Definition: p6net.h:563
P6KMIP_RNGPARAMS randomNumberGenerator
Definition: p6kmipclient.h:438
P6KMIP_TEMPLATEATTRIBUTE * pPublicKeyAttributes
Definition: p6kmipclient.h:995
P6KMIP_ATTRIBUTENAMES getAttributeList
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_EXPORTPARAMS.
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:613
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_WRAPPINGSPEC * pSpec
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:404
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:555
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:970
p6IKMIPAttribute * pAttributes
P6KMIP_REVOCATION revocation
Definition: p6kmipclient.h:423
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:944
P6KMIP_SPLITSPEC.
P6KMIP_CRYPTOPARAMS signParams
P6KMIP_OBJECT_SPLITKEY.
P6KMIP_TEMPLATEPARAMS.
P6KMIP_NEWOBJECT createSplitKeyObject
P6KMIP_LOCATEPARAMS.
Definition: p6kmipclient.h:965
P6KMIP_MSGEXTENSION * pExtension
P6KMIP_OBJECT_ATTRIBUTE.
Definition: p6kmipclient.h:389
P6KMIP_CRYPTOIN cipherOp
int32_t P6INT32
Definition: p6types.h:76
P6KMIP_SERVERINFO.
Definition: p6kmipclient.h:938
P6KMIP_CHECKRESULT checkResult
P6KMIP_CERTID certificateIdentifier
Definition: p6kmipclient.h:405
P6KMIP_CAPABILITIES capabilities
Definition: p6kmipclient.h:949
#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:948
P6KMIP_WRAPPEDKEY wrapKey
p6IKMIPEnum * pOperations
Definition: p6kmipclient.h:939
p6IKMIPBinary * pBlob
P6KMIP_IMPORTPARAMS.
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