Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6kmipencoder.h
Go to the documentation of this file.
1 
21 #ifndef P6KMIPENCODER_H__
22 #define P6KMIPENCODER_H__ 1
23 
24 #include "p6time.h"
25 #include "p6cryptokey.h"
26 #include "p6dhkeyexchange.h"
27 #include "p6cert.h"
28 #include "p6kmip.h"
29 #include "p6iobuffer.h"
30 
31 
32 namespace P6R {
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 
48 typedef struct {
51 } P6KMIP_NAME;
52 
68 typedef struct {
80 
88 typedef struct {
92 
98 typedef struct {
102 
109 typedef struct {
112 } P6KMIP_CERTID;
113 
114 
123 typedef struct {
128 
137 typedef struct {
142 
143 
152 typedef struct {
156 } P6KMIP_DIGEST;
157 
166 typedef struct {
171 
179 typedef struct {
183 
191 typedef struct {
194 } P6KMIP_LINK;
195 
203 typedef struct {
207 
208 
223 typedef struct {
225  union {
234  } xValue;
236 } P6KMIP_XATTRIB;
237 
253 typedef struct {
263 
264 
314 
369 typedef struct {
372  union {
418  } value;
419 } P6KMIP_ATTRIBUTE;
420 
433 typedef struct {
439 
447 typedef struct {
450 } P6KMIP_KEYID;
451 
463 typedef struct {
471 
483 typedef struct {
491 
502 typedef struct {
509 
526 typedef struct {
538 
550 typedef struct {
558 
572 typedef struct {
583 
594 typedef struct {
599 } P6KMIP_KEY;
600 
611 typedef struct {
616 } P6KMIP_PGPKEY;
617 
633 typedef struct {
642 } P6KMIP_RAWKEY;
643 
654 typedef struct {
660 
669 typedef struct {
673 
677 
688 typedef struct {
693 } P6KMIP_SIGNIN;
694 
701 typedef struct {
705 
717 typedef struct {
724 } P6KMIP_DEVICE;
725 
734 typedef struct {
736  union {
739  } value;
740 } P6KMIP_CREDENTIAL;
741 
753 typedef struct {
760 
768 typedef struct {
771 } P6KMIP_ERROR;
772 
782 typedef struct {
788 
798 typedef struct {
803 
814 typedef struct {
819 
838 typedef struct {
851 
867 typedef struct {
876 
898 typedef struct {
915 
928 typedef struct {
933 
939 typedef struct {
943 
954 typedef struct {
956  P6UINT32 function;
960 } P6KMIP_PUT;
961 
970 const P6KMIPENCODERFLAGS P6KMIPENCODER_NOFLAGS = 0x00000000;
971 const P6KMIPENCODERFLAGS P6KMIPENCODER_TRACEON = 0x00000001;
972 
982 interface p6IKMIPRequest : public p6ICom
983 {
997 
1012  P6COMMETHOD endRequestMsg() = 0;
1013 
1032 
1055  P6COMMETHOD addCreateKeyPairRequest( P6KMIP_TEMPLATEATTRIBUTE* pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE* pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE* pPublicKeyAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1056 
1075 
1097  P6COMMETHOD addJoinSplitKeyRequest( P6UINT32 objectType, P6UINT32 idCount, P6NCSTR* pIdList, P6UINT32* pSecretType, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1098 
1122  P6COMMETHOD addRegisterKeyRequest( p6ICryptoKey* pKey, P6UINT32* pKeyFormatType, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1123 
1145  P6COMMETHOD addRegisterMDORequest( P6UINT32 objectType, P6UINT32 cryptoAlg, P6UINT32 cryptoLength, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1146 
1169 
1191 
1214 
1240 
1261 
1284 
1304 
1325 
1347 
1368  P6COMMETHOD addRegisterSecretDataRequest( P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING* pWrapInfo, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1369 
1389  P6COMMETHOD addRegisterOpaqueRequest( P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1390 
1409  P6COMMETHOD addReKeyRequest( P6NCSTR uniqueIdentifier, P6UINT32* pOffset, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1410 
1435  P6COMMETHOD addReKeyKeyPairRequest( P6NCSTR uniqueIdentifier, P6UINT32* pOffset, P6KMIP_TEMPLATEATTRIBUTE* pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE* pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE* pPublicKeyAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1436 
1456 
1477  P6COMMETHOD addCertifyRequest( P6NCSTR uniqueIdentifier, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1478 
1499  P6COMMETHOD addReCertifyRequest( P6NCSTR uniqueIdentifier, P6R::P6UINT32* pOffset, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1500 
1521  P6COMMETHOD addLocateRequest( P6UINT32* pMaxItems, P6UINT32* pStorageStatusMask, P6UINT32* pObjectGroupMember, P6UINT32 attribCount, P6KMIP_ATTRIBUTE* pAttributeList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1522 
1543  P6COMMETHOD addCheckRequest( P6NCSTR uniqueIdentifier, P6INT64* pUsageLimitsCount, P6UINT32* pUsageMask, P6UINT32* pLeaseTime, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1544 
1564  P6COMMETHOD addGetRequest( P6NCSTR uniqueIdentifier, P6UINT32* pKeyFormat, P6UINT32* pKeyCompression, P6KMIP_WRAPPINGSPEC* pSpec, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1565 
1585  P6COMMETHOD addGetAttributesRequest( P6NCSTR uniqueIdentifier, P6UINT32 attribCount, P6NCSTR* pAttributeNames, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1586 
1604  P6COMMETHOD addGetAttributeListRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1605 
1624  P6COMMETHOD addAddAttributeRequest( P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1625 
1644  P6COMMETHOD addModifyAttributeRequest( P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1645 
1666  P6COMMETHOD addDeleteAttributeRequest( P6NCSTR uniqueIdentifier, P6NCSTR attributeName, P6INT32* pAttributeIndex, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1667 
1685  P6COMMETHOD addObtainLeaseRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1686 
1706  P6COMMETHOD addGetUsageAllocationRequest( P6NCSTR uniqueIdentifier, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1707 
1725  P6COMMETHOD addActivateRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1726 
1746  P6COMMETHOD addRevokeRequest( P6NCSTR uniqueIdentifier, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1747 
1766  P6COMMETHOD addDestroyRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1767 
1786  P6COMMETHOD addArchiveRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1787 
1805  P6COMMETHOD addRecoverRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1806 
1829  P6COMMETHOD addValidateRequest( P6UINT32 certCount, p6ICert** pCertList, P6UINT32 idCount, P6NCSTR* pIdList, P6TIME* pValidityDate, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1830 
1848  P6COMMETHOD addQueryRequest( P6UINT32 queryCount, P6UINT32* pQueryFunctions, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1849 
1867  P6COMMETHOD addDiscoverVersionsRequest( P6UINT32 itemCount, P6KMIP_VERSION* pVersionList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1868 
1886  P6COMMETHOD addCancelRequest( P6BCSTR correlationValue, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1887 
1905  P6COMMETHOD addPollRequest( P6BCSTR correlationValue, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1906 
1923  P6COMMETHOD addEncryptRequest( P6KMIP_CRYPTOIN encryptParams, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1924 
1941  P6COMMETHOD addDecryptRequest( P6KMIP_CRYPTOIN encryptParams, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1942 
1959  P6COMMETHOD addSignRequest( P6KMIP_SIGNIN signParams, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1960 
1978 
1995  P6COMMETHOD addMACRequest( P6KMIP_SIGNIN macParams, P6KMIP_MSGEXTENSION* pExtension ) = 0;
1996 
2013  P6COMMETHOD addMACVerifyRequest( P6KMIP_SIGNIN macParams, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2014 
2031  P6COMMETHOD addRNGRetrieveRequest( P6INT32 dataLength, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2032 
2050  P6COMMETHOD addRNGSeedRequest( P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2051 
2070  P6COMMETHOD addHashRequest( P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2071 
2094  P6COMMETHOD addNotify( P6NCSTR uniqueIdentifier, P6UINT32 itemCount, P6KMIP_ATTRIBUTE* pItemList, P6BOOL* pIgnore, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2095 
2121  P6COMMETHOD addPutKeyRequest( P6KMIP_PUT params, p6ICryptoKey* pKey, P6UINT32* pKeyFormatType, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2122 
2145 
2169 
2191  P6COMMETHOD addPutCertificateRequest( P6KMIP_PUT params, p6ICert* pCertificate, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2192 
2216  P6COMMETHOD addPutTemplateRequest( P6KMIP_PUT params, P6UINT32 itemCount, P6KMIP_ATTRIBUTE* pItemList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2217 
2241  P6COMMETHOD addPutSecretDataRequest( P6KMIP_PUT params, P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING* pWrapInfo, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2242 
2265  P6COMMETHOD addPutOpaqueRequest( P6KMIP_PUT params, P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2266 };
2267 
2268 // {B972A9BF-0F0C-4f40-8591-CB6DDF807990}
2269 #define IF_p6IKMIPRequest {0xb972a9bf,0xf0c,0x4f40,{0x85,0x91,0xcb,0x6d,0xdf,0x80,0x79,0x90}}
2270 
2271 
2272 
2273 
2285 interface p6IKMIPRequest2 : public p6ICom
2286 {
2300 
2315  P6COMMETHOD endRequestMsg() = 0;
2316 
2335 
2358  P6COMMETHOD addCreateKeyPairRequest( P6KMIP_TEMPLATEATTRIBUTE* pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE* pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE* pPublicKeyAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2359 
2378 
2400  P6COMMETHOD addJoinSplitKeyRequest( P6UINT32 objectType, P6UINT32 idCount, P6NCSTR* pIdList, P6UINT32* pSecretType, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2401 
2425  P6COMMETHOD addRegisterKeyRequest( p6ICryptoKey* pKey, P6UINT32* pKeyFormatType, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2426 
2448  P6COMMETHOD addRegisterMDORequest( P6UINT32 objectType, P6UINT32 cryptoAlg, P6UINT32 cryptoLength, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2449 
2472 
2494 
2517 
2543 
2564 
2587 
2607 
2628 
2650 
2671  P6COMMETHOD addRegisterSecretDataRequest( P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING* pWrapInfo, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2672 
2692  P6COMMETHOD addRegisterOpaqueRequest( P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2693 
2712  P6COMMETHOD addReKeyRequest( P6NCSTR uniqueIdentifier, P6UINT32* pOffset, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2713 
2738  P6COMMETHOD addReKeyKeyPairRequest( P6NCSTR uniqueIdentifier, P6UINT32* pOffset, P6KMIP_TEMPLATEATTRIBUTE* pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE* pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE* pPublicKeyAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2739 
2759 
2780  P6COMMETHOD addCertifyRequest( P6NCSTR uniqueIdentifier, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2781 
2802  P6COMMETHOD addReCertifyRequest( P6NCSTR uniqueIdentifier, P6R::P6UINT32* pOffset, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2803 
2828  P6COMMETHOD addLocateRequest2( P6UINT32* pMaxItems, P6UINT32* pOffsetItems, P6UINT32* pStorageStatusMask, P6UINT32* pObjectGroupMember, P6UINT32 attribCount, P6KMIP_ATTRIBUTE* pAttributeList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2829 
2850  P6COMMETHOD addCheckRequest( P6NCSTR uniqueIdentifier, P6INT64* pUsageLimitsCount, P6UINT32* pUsageMask, P6UINT32* pLeaseTime, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2851 
2871  P6COMMETHOD addGetRequest( P6NCSTR uniqueIdentifier, P6UINT32* pKeyFormat, P6UINT32* pKeyCompression, P6KMIP_WRAPPINGSPEC* pSpec, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2872 
2892  P6COMMETHOD addGetAttributesRequest( P6NCSTR uniqueIdentifier, P6UINT32 attribCount, P6NCSTR* pAttributeNames, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2893 
2911  P6COMMETHOD addGetAttributeListRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2912 
2931  P6COMMETHOD addAddAttributeRequest( P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2932 
2951  P6COMMETHOD addModifyAttributeRequest( P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2952 
2973  P6COMMETHOD addDeleteAttributeRequest( P6NCSTR uniqueIdentifier, P6NCSTR attributeName, P6INT32* pAttributeIndex, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2974 
2992  P6COMMETHOD addObtainLeaseRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
2993 
3013  P6COMMETHOD addGetUsageAllocationRequest( P6NCSTR uniqueIdentifier, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3014 
3032  P6COMMETHOD addActivateRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3033 
3053  P6COMMETHOD addRevokeRequest( P6NCSTR uniqueIdentifier, P6KMIP_REVOCATION reason, P6TIME* pOccurenceDate, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3054 
3073  P6COMMETHOD addDestroyRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3074 
3093  P6COMMETHOD addArchiveRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3094 
3112  P6COMMETHOD addRecoverRequest( P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3113 
3136  P6COMMETHOD addValidateRequest( P6UINT32 certCount, p6ICert** pCertList, P6UINT32 idCount, P6NCSTR* pIdList, P6TIME* pValidityDate, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3137 
3155  P6COMMETHOD addQueryRequest( P6UINT32 queryCount, P6UINT32* pQueryFunctions, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3156 
3174  P6COMMETHOD addDiscoverVersionsRequest( P6UINT32 itemCount, P6KMIP_VERSION* pVersionList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3175 
3193  P6COMMETHOD addCancelRequest( P6BCSTR correlationValue, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3194 
3212  P6COMMETHOD addPollRequest( P6BCSTR correlationValue, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3213 
3235  P6COMMETHOD addEncryptRequest2( P6KMIP_CRYPTOIN encryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3236 
3258  P6COMMETHOD addDecryptRequest2( P6KMIP_CRYPTOIN decryptParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3259 
3281  P6COMMETHOD addSignRequest2( P6KMIP_SIGNIN signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3282 
3304  P6COMMETHOD addSignatureVerifyRequest2( P6KMIP_SIGNIN signParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3305 
3327  P6COMMETHOD addMACRequest2( P6KMIP_SIGNIN macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3328 
3350  P6COMMETHOD addMACVerifyRequest2( P6KMIP_SIGNIN macParams, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3351 
3368  P6COMMETHOD addRNGRetrieveRequest( P6INT32 dataLength, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3369 
3387  P6COMMETHOD addRNGSeedRequest( P6BCSTR data, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3388 
3411  P6COMMETHOD addHashRequest2( P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_CRYPTOSTREAM* pStreamState, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3412 
3435  P6COMMETHOD addNotify( P6NCSTR uniqueIdentifier, P6UINT32 itemCount, P6KMIP_ATTRIBUTE* pItemList, P6BOOL* pIgnore, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3436 
3462  P6COMMETHOD addPutKeyRequest( P6KMIP_PUT params, p6ICryptoKey* pKey, P6UINT32* pKeyFormatType, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3463 
3486 
3510 
3532  P6COMMETHOD addPutCertificateRequest( P6KMIP_PUT params, p6ICert* pCertificate, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3533 
3557  P6COMMETHOD addPutTemplateRequest( P6KMIP_PUT params, P6UINT32 itemCount, P6KMIP_ATTRIBUTE* pItemList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3558 
3582  P6COMMETHOD addPutSecretDataRequest( P6KMIP_PUT params, P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING* pWrapInfo, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3583 
3606  P6COMMETHOD addPutOpaqueRequest( P6KMIP_PUT params, P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3607 
3618  P6COMMETHOD setProtocolVersion( P6UINT32 version ) = 0;
3619 };
3620 
3621 // {2E3A3A14-BAD4-4399-97CA-0D915834846D}
3622 #define IF_p6IKMIPRequest2 {0x2e3a3a14,0xbad4,0x4399,{0x97,0xca,0xd,0x91,0x58,0x34,0x84,0x6d}}
3623 
3624 
3625 
3635 interface p6IKMIPResponse : public p6ICom
3636 {
3648 
3662 
3680  P6COMMETHOD addCreateResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3681 
3702  P6NCSTR privateKeyId,
3703  P6NCSTR publicKeyId,
3704  P6KMIP_TEMPLATEATTRIBUTE* pPrivateKeyAttributes,
3705  P6KMIP_TEMPLATEATTRIBUTE* pPublicKeyAttributes,
3706  P6KMIP_MSGEXTENSION* pExtension ) = 0;
3707 
3725  P6COMMETHOD addRegisterResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3726 
3744  P6COMMETHOD addReKeyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3745 
3766  P6NCSTR privateKeyId,
3767  P6NCSTR publicKeyId,
3768  P6KMIP_TEMPLATEATTRIBUTE* pPrivateKeyAttributes,
3769  P6KMIP_TEMPLATEATTRIBUTE* pPublicKeyAttributes,
3770  P6KMIP_MSGEXTENSION* pExtension ) = 0;
3771 
3789  P6COMMETHOD addDeriveKeyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3790 
3808  P6COMMETHOD addCertifyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3809 
3827  P6COMMETHOD addReCertifyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE* pAttributes, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3828 
3846  P6COMMETHOD addLocateResponse( P6KMIP_RESPONSEPARAMS result, P6UINT32 idCount, P6NCSTR* pIdList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3847 
3869  P6COMMETHOD addCheckResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_USAGELIMITS* pLimits, P6UINT32* pUsageMask, P6UINT32* pLeaseTime, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3870 
3894  P6COMMETHOD addGetKeyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_KEY keyInfo, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3895 
3920  P6COMMETHOD addGetRawKeyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_RAWKEY keyInfo, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3921 
3940  P6COMMETHOD addGetWrappedKeyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_WRAPPEDKEY* pKey, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3941 
3960  P6COMMETHOD addGetSplitKeyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_SPLITKEY* pKey, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3961 
3979  P6COMMETHOD addGetCertificateResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, p6ICert* pCertificate, P6KMIP_MSGEXTENSION* pExtension ) = 0;
3980 
4000  P6COMMETHOD addGetRawCertificateResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 certType, P6BCSTR certValue, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4001 
4021  P6COMMETHOD addGetTemplateResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 itemCount, P6KMIP_ATTRIBUTE* pItemList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4022 
4042  P6COMMETHOD addGetSecretDataResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING* pWrapInfo, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4043 
4062  P6COMMETHOD addGetOpaqueResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4063 
4083  P6COMMETHOD addGetAttributesResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 attribCount, P6KMIP_ATTRIBUTE* pAttributeList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4084 
4103  P6COMMETHOD addGetAttributeListResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 nameCount, P6NCSTR* pNameList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4104 
4122  P6COMMETHOD addAddAttributeResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4123 
4141  P6COMMETHOD addModifyAttributeResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4142 
4160  P6COMMETHOD addDeleteAttributeResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4161 
4180  P6COMMETHOD addObtainLeaseRsponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 leaseTime, P6TIME lastChangeDate, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4181 
4198  P6COMMETHOD addGetUsageAllocationResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4199 
4216  P6COMMETHOD addActivateResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4217 
4234  P6COMMETHOD addRevokeResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4235 
4252  P6COMMETHOD addDestroyResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4253 
4270  P6COMMETHOD addArchiveResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4271 
4288  P6COMMETHOD addRecoverResponse( P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4289 
4306  P6COMMETHOD addValidateResponse( P6KMIP_RESPONSEPARAMS result, P6UINT32 validityIndicator, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4307 
4326 
4344  P6COMMETHOD addDiscoverVersionsResponse( P6KMIP_RESPONSEPARAMS result, P6UINT32 itemCount, P6KMIP_VERSION* pVersionList, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4345 
4363  P6COMMETHOD addCancelResponse( P6KMIP_RESPONSEPARAMS result, P6BCSTR correlationValue, P6UINT32 cancelResult, P6KMIP_MSGEXTENSION* pExtension ) = 0;
4364 
4385 
4402 
4419 };
4420 
4421 // {FFB702BB-8FF4-423e-9E4D-A0E8D08B4233}
4422 #define IF_p6IKMIPResponse {0xffb702bb,0x8ff4,0x423e,{0x9e,0x4d,0xa0,0xe8,0xd0,0x8b,0x42,0x33}}
4423 
4424 
4425 
4441 typedef struct {
4446 
4447 
4462 const P6KMIPVERSION P6KMIP_VERSION_10 = 0;
4463 const P6KMIPVERSION P6KMIP_VERSION_11 = 1;
4464 const P6KMIPVERSION P6KMIP_VERSION_12 = 2;
4465 const P6KMIPVERSION P6KMIP_VERSION_13 = 3;
4466 
4467 
4479 interface p6IKMIPEncoder : public p6ICom
4480 {
4495  P6COMMETHOD initialize( P6KMIPENCODERFLAGS flags, P6KMIPVERSION version, p6IIoBufferFactory* pPool, P6KMIP_ENCODER_PREF* pPreferences ) = 0;
4496 
4510  P6COMMETHOD getBufPtr( p6IIoBuffer** pBuffer ) = 0;
4511 };
4512 
4513 // {9D517A85-BC81-4bf8-B2FD-FB679A9BC9A3}
4514 #define IF_p6IKMIPEncoder {0x9d517a85,0xbc81,0x4bf8,{0xb2,0xfd,0xfb,0x67,0x9a,0x9b,0xc9,0xa3}}
4515 
4516 // {7E0BAB5E-B69F-4bcd-8CA1-9D40EC0C44D9}
4517 #define COMP_p6KMIPEncoder {0x7e0bab5e,0xb69f,0x4bcd,{0x8c,0xa1,0x9d,0x40,0xec,0xc,0x44,0xd9}}
4518 
4519 
4520 #ifdef __cplusplus
4521 }
4522 #endif
4523 
4524 } // namespace
4525 
4526 #endif
4527 
4528 
P6KMIP_X509CERTNAME attribute.
virtual P6R::P6ERR startRequestMsg(P6KMIP_REQUESTPARAMS params)=0
Start the creation of a KMIP request message.
virtual P6R::P6ERR addActivateRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the activate batch item to the current request message.
P6KMIP_CERTNAME attribute.
virtual P6R::P6ERR addCertifyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the certify batch item to the current response message.
P6KMIP_DOMAINPARAMS.
Definition: p6kmipencoder.h:88
P6KMIP_USAGELIMITS attribute.
virtual P6R::P6ERR addPutTemplateRequest(P6KMIP_PUT params, P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a KMIP Template.
P6LONGLONG P6INT64
Definition: p6types.h:50
const P6KMIPVERSION P6KMIP_VERSION_10
virtual P6R::P6ERR addMACVerifyRequest2(P6KMIP_SIGNIN macParams, P6KMIP_CRYPTOSTREAM *pStreamState, P6KMIP_MSGEXTENSION *pExtension)=0
Add the MAC verify batch item to the current request message.
P6KMIP_NAME alternativeName
virtual P6R::P6ERR addPollRequest(P6BCSTR correlationValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the poll batch item to the current request message.
virtual P6R::P6ERR addGetRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pKeyFormat, P6UINT32 *pKeyCompression, P6KMIP_WRAPPINGSPEC *pSpec, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current request message.
P6KMIP_VERSION.
Const Binary string.
Definition: p6types.h:167
virtual P6R::P6ERR addRegisterKeyRequest(p6ICryptoKey *pKey, P6UINT32 *pKeyFormatType, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped p6ICryptoKey (i.e., not encrypted nor signed)...
virtual P6R::P6ERR initialize(P6KMIPENCODERFLAGS flags, P6KMIPVERSION version, p6IIoBufferFactory *pPool, P6KMIP_ENCODER_PREF *pPreferences)=0
Sets up the object to run properly.
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATETYPE
virtual P6R::P6ERR addJoinSplitKeyRequest(P6UINT32 objectType, P6UINT32 idCount, P6NCSTR *pIdList, P6UINT32 *pSecretType, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the join split key batch item to the current request message.
virtual P6R::P6ERR addDeriveKeyRequest(P6KMIP_DERIVEKEY derive, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the derive key batch item to the current request message.
P6KMIP_CRYPTOSTREAM.
virtual P6R::P6ERR addGetSplitKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_SPLITKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addRegisterWrappedKeyRequest(P6KMIP_WRAPPEDKEY wrapKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a wrapped key, which can be encrypted and/or signed.
A convience structure to pass around a narrow string along with its length.
Definition: p6types.h:214
P6UINT32 attribCount
const P6R::P6UINT8 KMIP_ATTRIB_EXTENSION
virtual P6R::P6ERR addCreateSplitKeyRequest(P6KMIP_SPLITSPEC splitdef, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create split key batch item to the current request message.
virtual P6R::P6ERR addEncryptRequest2(P6KMIP_CRYPTOIN encryptParams, P6KMIP_CRYPTOSTREAM *pStreamState, P6KMIP_MSGEXTENSION *pExtension)=0
Add the encrypt batch item to the current request message.
virtual P6R::P6ERR addCreateSplitKeyRequest(P6KMIP_SPLITSPEC splitdef, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create split key batch item to the current request message.
virtual P6R::P6ERR addRecoverRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the recover batch item to the current request message.
virtual P6R::P6ERR startRequestMsg(P6KMIP_REQUESTPARAMS params)=0
Start the creation of a KMIP request message.
virtual P6R::P6ERR addNotify(P6NCSTR uniqueIdentifier, P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6BOOL *pIgnore, P6KMIP_MSGEXTENSION *pExtension)=0
A notify is used as the only batch item in a message.
P6KMIP_CRYPTOPARAMS * pParams
This interface provides key metadata infrormation and key access.
Definition: p6cryptokey.h:1100
virtual P6R::P6ERR addPutOpaqueRequest(P6KMIP_PUT params, P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for an opaque object.
P6KMIP_CERTID certificateIdentifier
const P6R::P6UINT8 KMIP_ATTRIB_REVOCATION
P6UINT32 compressionType
virtual P6R::P6ERR addObtainLeaseRsponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 leaseTime, P6TIME lastChangeDate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the obtain lease attribute batch item to the current response message.
virtual P6R::P6ERR addRegisterResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item to the current response message.
virtual P6R::P6ERR addRNGSeedRequest(P6BCSTR data, P6KMIP_MSGEXTENSION *pExtension)=0
Add the RNG Seed batch item to the current request message.
unsigned int P6UINT32
Definition: p6types.h:40
virtual P6R::P6ERR addGetAttributeListResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 nameCount, P6NCSTR *pNameList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attribute list batch item to the current response message.
P6KMIP_ATTRIBUTE * pAttributeList
P6KMIP_CAPABILITIES * pCapabilities
const P6R::P6UINT8 KMIP_ATTRIB_FRESH
P6KMIP_PUT.
virtual P6R::P6ERR addCreateRequest(P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create batch item to the current request message.
P6KMIP_REVOCATION attribute.
virtual P6R::P6ERR addRegisterX509KeyRequest(P6KMIP_RAWKEY rawKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a key in the X.509 DER format, which is not represeted by a p6ICrypto...
P6KMIP_MSGEXTENSION.
const P6R::P6UINT8 KMIP_ATTRIB_LEASETIME
virtual P6R::P6ERR addNotifyResponse(P6KMIP_RESPONSEPARAMS result, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item to the current response message.
Constant KMIP definitions.
I/O Buffer Interfaces.
virtual P6R::P6ERR addArchiveRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the archive batch item to the current request message.
virtual P6R::P6ERR addDecryptRequest(P6KMIP_CRYPTOIN encryptParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the decrypt batch item to the current request message.
virtual P6R::P6ERR addRNGSeedRequest(P6BCSTR data, P6KMIP_MSGEXTENSION *pExtension)=0
Add the RNG Seed batch item to the current request message.
virtual P6R::P6ERR addRecoverResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the recover batch item to the current response message.
virtual P6R::P6ERR addPutSecretDataRequest(P6KMIP_PUT params, P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING *pWrapInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a shared secret.
virtual P6R::P6ERR addRegisterOpaqueRequest(P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an opaque object.
This interface is used to create / encode the construction of a KMIP message as defined in Key Manage...
virtual P6R::P6ERR addMACRequest(P6KMIP_SIGNIN macParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the MAC batch item to the current request message.
P6KMIP_ATTRIBUTE.
virtual P6R::P6ERR addRNGRetrieveRequest(P6INT32 dataLength, P6KMIP_MSGEXTENSION *pExtension)=0
Add the RNG Retrive batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_DESTROYDATE
const P6R::P6UINT8 KMIP_ATTRIB_DIGEST
const P6KMIPVERSION P6KMIP_VERSION_12
P6KMIP_REVOCATION revocation
virtual P6R::P6ERR addReKeyRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pOffset, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key batch item to the current request message.
virtual P6R::P6ERR addReCertifyRequest(P6NCSTR uniqueIdentifier, P6R::P6UINT32 *pOffset, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-certify batch item to the current request message.
P6KMIP_SIGNIN.
virtual P6R::P6ERR addRegisterSplitKeyRequest(P6KMIP_SPLITKEY *pKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a split key, which can be in the clear, encrypted and/or signed...
const P6R::P6UINT8 KMIP_ATTRIB_DIGITALSIGALG
virtual P6R::P6ERR addQueryResponse(P6KMIP_RESPONSEPARAMS result, P6KMIP_QUERYRESULT features, P6KMIP_MSGEXTENSION *pExtension)=0
Add the query batch item to the current response message.
virtual P6R::P6ERR addPutSplitKeyRequest(P6KMIP_PUT params, P6KMIP_SPLITKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a split key, which can be in the clear, encrypted and/or signed...
P6KMIP_CRYPTOIN.
virtual P6R::P6ERR addRegisterX509KeyRequest(P6KMIP_RAWKEY rawKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a key in the X.509 DER format, which is not represeted by a p6ICrypto...
virtual P6R::P6ERR addGetSecretDataResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING *pWrapInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_COMPROMISEDATE
bool P6BOOL
Boolean type.
Definition: p6types.h:101
virtual P6R::P6ERR addRegisterTemplateRequest(P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a KMIP Template.
P6KMIP_RAWKEY.
virtual P6R::P6ERR addLocateRequest(P6UINT32 *pMaxItems, P6UINT32 *pStorageStatusMask, P6UINT32 *pObjectGroupMember, P6UINT32 attribCount, P6KMIP_ATTRIBUTE *pAttributeList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the locate batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_STATE
P6KMIP_NAME attribute.
Definition: p6kmipencoder.h:48
virtual P6R::P6ERR addSignRequest(P6KMIP_SIGNIN signParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the sign batch item to the current request message.
virtual P6R::P6ERR addRegisterSplitKeyRequest(P6KMIP_SPLITKEY *pKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a split key, which can be in the clear, encrypted and/or signed...
P6NCSTR uniqueIdentifier
virtual P6R::P6ERR addRegisterCertificateRequest(p6ICert *pCertificate, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a certificate.
virtual P6R::P6ERR addPollNotCompletedResponse(P6KMIP_RESPONSEPARAMS result, P6KMIP_MSGEXTENSION *pExtension)=0
Add the poll batch item to the current response message.
P6KMIP_DRIVEKEY.
virtual P6R::P6ERR addCheckRequest(P6NCSTR uniqueIdentifier, P6INT64 *pUsageLimitsCount, P6UINT32 *pUsageMask, P6UINT32 *pLeaseTime, P6KMIP_MSGEXTENSION *pExtension)=0
Add the check batch item to the current request message.
P6KMIP_DIGEST attribute.
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTOALGORITHM
const P6R::P6UINT8 KMIP_ATTRIB_KEYVALELOCATION
virtual P6R::P6ERR addSignatureVerifyRequest(P6KMIP_SIGNIN signParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the signature verify batch item to the current request message.
This factory interface is responsible for creating and managing memory pooled Io Buffers (p6IIoBuffer...
Definition: p6iobuffer.h:595
const P6R::P6UINT8 KMIP_ATTRIB_OPERATIONPOLICYNAME
virtual P6R::P6ERR addCancelRequest(P6BCSTR correlationValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the cancel batch item to the current request message.
P6KMIP_KEY.
P6KMIP_PASSWORD.
virtual P6R::P6ERR addRegisterRawCertificateRequest(P6UINT32 certType, P6BCSTR certValue, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a certificate not supported by a p6ICert object.
virtual P6R::P6ERR addCertifyRequest(P6NCSTR uniqueIdentifier, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the certify batch item to the current request message.
virtual P6R::P6ERR addRegisterOpaqueRequest(P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an opaque object.
virtual P6R::P6ERR addDiscoverVersionsResponse(P6KMIP_RESPONSEPARAMS result, P6UINT32 itemCount, P6KMIP_VERSION *pVersionList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the discover versions batch item to the current response message.
virtual P6R::P6ERR addQueryRequest(P6UINT32 queryCount, P6UINT32 *pQueryFunctions, P6KMIP_MSGEXTENSION *pExtension)=0
Add the query batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_APPLICATIONINFO
P6UINT32 * pInitialCounterLength
Definition: p6kmipencoder.h:78
virtual P6R::P6ERR addPutSecretDataRequest(P6KMIP_PUT params, P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING *pWrapInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a shared secret.
virtual P6R::P6ERR addSignRequest2(P6KMIP_SIGNIN signParams, P6KMIP_CRYPTOSTREAM *pStreamState, P6KMIP_MSGEXTENSION *pExtension)=0
Add the sign batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_X509CERTIFICATESUBJECT
P6KMIP_SPLITKEY.
virtual P6R::P6ERR addRegisterSecretDataRequest(P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING *pWrapInfo, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a shared secret.
P6KMIP_CERTID attribute.
virtual P6R::P6ERR addValidateRequest(P6UINT32 certCount, p6ICert **pCertList, P6UINT32 idCount, P6NCSTR *pIdList, P6TIME *pValidityDate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the validate batch item to the current request message.
P6KMIP_PASSWORD password
P6KMIP_CRYPTOPARAMS params
const P6KMIPVERSION P6KMIP_VERSION_11
P6KMIP_RNGPARAMS randomNumberGenerator
virtual P6R::P6ERR addDeleteAttributeRequest(P6NCSTR uniqueIdentifier, P6NCSTR attributeName, P6INT32 *pAttributeIndex, P6KMIP_MSGEXTENSION *pExtension)=0
Add the delete attribute batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_ALTERNATIVENAME
virtual P6R::P6ERR addAddAttributeRequest(P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the add attribute batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTOPARAMS
P6KMIP_CRYPTOPARAMS attribute.
Definition: p6kmipencoder.h:68
P6UINT32 cryptoAlgorithm
unsigned char P6UINT8
Definition: p6types.h:30
P6UINT32 cryptoAlgorithm
P6KMIP_ERROR.
virtual P6R::P6ERR addHashRequest(P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_MSGEXTENSION *pExtension)=0
Add the Hash batch item to the current request message.
P6KMIP_CERTNAME certificateSubject
virtual P6R::P6ERR addDestroyRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the destroy batch item to the current request message.
virtual P6R::P6ERR addGetCertificateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, p6ICert *pCertificate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addGetRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pKeyFormat, P6UINT32 *pKeyCompression, P6KMIP_WRAPPINGSPEC *pSpec, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current request message.
virtual P6R::P6ERR addReKeyRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pOffset, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key batch item to the current request message.
P6KMIP_KEYWRAPPING.
virtual P6R::P6ERR addDestroyRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the destroy batch item to the current request message.
virtual P6R::P6ERR addReCertifyRequest(P6NCSTR uniqueIdentifier, P6R::P6UINT32 *pOffset, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-certify batch item to the current request message.
virtual P6R::P6ERR addPutOpaqueRequest(P6KMIP_PUT params, P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for an opaque object.
virtual P6R::P6ERR addPollRequest(P6BCSTR correlationValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the poll batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_COMPROMISEOCCURANCEDATE
P6KMIP_CREDENTIAL.
P6KMIP_DIGEST digest
virtual P6R::P6ERR addDeleteAttributeResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the delete attribute batch item to the current response message.
virtual P6R::P6ERR addRegisterRawKeyRequest(P6KMIP_RAWKEY rawKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for any key format especially for keys that cannot be represented by a p6...
P6KMIP_RESPONSEPARAMS.
const P6R::P6UINT8 KMIP_STREAM_FINAL
virtual P6R::P6ERR addRegisterDHKeyRequest(p6IDHKeyExchange *pKey, P6UINT32 keyFormatType, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped p6IDHKeyExchange (i.e., not encrypted nor signed)...
Interface definition for Diffe-Hellman Key Exchange References: 1) RFC 4253, SSH Transport Layer Prot...
P6UINT32 hashingAlgorithm
P6KMIP_QUERYRESULT.
const P6R::P6UINT8 KMIP_ATTRIB_RNG
virtual P6R::P6ERR addRegisterRawCertificateRequest(P6UINT32 certType, P6BCSTR certValue, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a certificate not supported by a p6ICert object.
P6UINT32 itemCount
P6KMIP_LINK attribute.
int P6INT32
Definition: p6types.h:41
virtual P6R::P6ERR addCreateKeyPairResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR privateKeyId, P6NCSTR publicKeyId, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create key pair batch item to the current response message.
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:96
virtual P6R::P6ERR addQueryRequest(P6UINT32 queryCount, P6UINT32 *pQueryFunctions, P6KMIP_MSGEXTENSION *pExtension)=0
Add the query batch item to the current request message.
P6KMIP_KEYWRAPPING * pWrapInfo
P6KMIP_APPLICATION applicationInfo
P6KMIP_APPLICATION * pNamespaces
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTODOMAINPARAMS
const P6R::P6UINT8 KMIP_ATTRIB_CONTACTINFORMATION
P6KMIP_X509CERTID attribute.
Definition: p6kmipencoder.h:98
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATEIDENTIFIER
const P6R::P6UINT8 KMIP_ATTRIB_KEYVALUEPRESENT
virtual P6R::P6ERR startResponseMsg()=0
Start the creation of a KMIP response message.
virtual P6R::P6ERR addGetRawKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_RAWKEY keyInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addDiscoverVersionsRequest(P6UINT32 itemCount, P6KMIP_VERSION *pVersionList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the discover versions batch item to the current request message.
P6KMIP_CRYPTOPARAMS * pParams
const P6R::P6UINT8 KMIP_ATTRIB_ACTIVATIONDATE
virtual P6R::P6ERR addCheckResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_USAGELIMITS *pLimits, P6UINT32 *pUsageMask, P6UINT32 *pLeaseTime, P6KMIP_MSGEXTENSION *pExtension)=0
Add the check batch item to the current response message.
virtual P6R::P6ERR addCreateRequest(P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATESUBJECT
virtual P6R::P6ERR addCreateKeyPairRequest(P6KMIP_TEMPLATEATTRIBUTE *pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the createKeyPair batch item to the current request message.
virtual P6R::P6ERR addCancelResponse(P6KMIP_RESPONSEPARAMS result, P6BCSTR correlationValue, P6UINT32 cancelResult, P6KMIP_MSGEXTENSION *pExtension)=0
Add the cancel batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_LASTCHANGEDATE
P6KMIP_DEVICE.
const P6R::P6UINT8 KMIP_ATTRIB_LINK
Binary string.
Definition: p6types.h:153
virtual P6R::P6ERR addGetUsageAllocationRequest(P6NCSTR uniqueIdentifier, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get usage allocated batch item to the current request message.
virtual P6R::P6ERR addGetRawCertificateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 certType, P6BCSTR certValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_NAME
virtual P6R::P6ERR addLocateResponse(P6KMIP_RESPONSEPARAMS result, P6UINT32 idCount, P6NCSTR *pIdList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the locate batch item to the current response message.
P6KMIP_ATTRIBUTE * pAttributeList
virtual P6R::P6ERR addPutSplitKeyRequest(P6KMIP_PUT params, P6KMIP_SPLITKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a split key, which can be in the clear, encrypted and/or signed...
P6KMIP_RNGPARAMS.
Interface definition for X509 V3 Certificates.
const P6R::P6UINT8 KMIP_ATTRIB_ARCHIVEDATE
virtual P6R::P6ERR addActivateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the activate batch item to the current response message.
P6NCSTR replacedIdentifier
const P6R::P6UINT8 KMIP_ATTRIB_X509CERTIFICATEISSUER
virtual P6R::P6ERR addGetTemplateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addGetUsageAllocationResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get usage allocation batch item to the current response message.
const P6R::P6UINT8 KMIP_STREAM_UPDATE
virtual P6R::P6ERR addRegisterCertificateRequest(p6ICert *pCertificate, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a certificate.
virtual P6R::P6ERR addDestroyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the destroy batch item to the current response message.
virtual P6R::P6ERR addAddAttributeResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the add attribute batch item to the current response message.
P6ULONGLONG P6UINT64
Definition: p6types.h:49
virtual P6R::P6ERR addRecoverRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the recover batch item to the current request message.
virtual P6R::P6ERR addGetAttributeListRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attribute list batch item to the current request message.
virtual P6R::P6ERR addRegisterSecretDataRequest(P6UINT32 secretType, P6BCSTR secretValue, P6KMIP_KEYWRAPPING *pWrapInfo, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a shared secret.
virtual P6R::P6ERR addObtainLeaseRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the obtain lease batch item to the current request message.
virtual P6R::P6ERR addRegisterDHKeyRequest(p6IDHKeyExchange *pKey, P6UINT32 keyFormatType, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped p6IDHKeyExchange (i.e., not encrypted nor signed)...
const P6R::P6UINT8 KMIP_ATTRIB_USAGELIMITS
virtual P6R::P6ERR addJoinSplitKeyRequest(P6UINT32 objectType, P6UINT32 idCount, P6NCSTR *pIdList, P6UINT32 *pSecretType, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the join split key batch item to the current request message.
P6KMIP_EXTENSION * pExtension
virtual P6R::P6ERR addAddAttributeRequest(P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the add attribute batch item to the current request message.
virtual P6R::P6ERR addActivateRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the activate batch item to the current request message.
P6KMIP_PROFILEINFO attribute.
virtual P6R::P6ERR addGetWrappedKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_WRAPPEDKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addRevokeRequest(P6NCSTR uniqueIdentifier, P6KMIP_REVOCATION reason, P6TIME *pOccurenceDate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the revoke batch item to the current request message.
P6KMIP_SETVALIDATION.
virtual P6R::P6ERR addRevokeRequest(P6NCSTR uniqueIdentifier, P6KMIP_REVOCATION reason, P6TIME *pOccurenceDate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the revoke batch item to the current request message.
P6UINT32 P6KMIPVERSION
P6KMIPVERSION.
virtual P6R::P6ERR addModifyAttributeResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the modify attribute batch item to the current response message.
P6KMIP_NAME keyValueLocation
virtual P6R::P6ERR addGetAttributesResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 attribCount, P6KMIP_ATTRIBUTE *pAttributeList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attributes batch item to the current response message.
P6KMIP_CREDENTIAL * pCredential
P6KMIP_XATTRIB extension
virtual P6R::P6ERR addRegisterTemplateRequest(P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a KMIP Template.
This component provides the basics of the key exchange calculates used in the Diffe-Hellman key excha...
const P6R::P6UINT8 KMIP_ATTRIB_ORIGCREATIONDATE
P6KMIP_KEYWRAPPING * pWrapInfo
This interface is used to create / encode the construction of a KMIP request message as defined in Ke...
const P6R::P6UINT8 KMIP_ATTRIB_OBJECTTYPE
virtual P6R::P6ERR addReKeyKeyPairResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR privateKeyId, P6NCSTR publicKeyId, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key key pair batch item to the current response message.
virtual P6R::P6ERR addRevokeResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the revoke batch item to the current response message.
P6KMIP_ENCODER_PREF.
P6UINT32 keyFormatType
const P6R::P6UINT8 KMIP_STREAM_INITIAL
const P6KMIPVERSION P6KMIP_VERSION_13
This interface allows the caller to access parts of an X509 V3 certificate for use in protocols and i...
Definition: p6cert.h:180
virtual P6R::P6ERR addReKeyKeyPairRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pOffset, P6KMIP_TEMPLATEATTRIBUTE *pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key key pair batch item to the current request message.
P6KMIP_ATTRIBUTE * pAttributeList
virtual P6R::P6ERR addRegisterMDORequest(P6UINT32 objectType, P6UINT32 cryptoAlg, P6UINT32 cryptoLength, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a meta-data only object (MDO).
virtual P6R::P6ERR addRegisterRawKeyRequest(P6KMIP_RAWKEY rawKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for any key format especially for keys that cannot be represented by a p6...
virtual P6R::P6ERR addRegisterPGPKeyRequest(P6KMIP_PGPKEY key, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped PGP key (i.e., not encrypted nor signed).
P6KMIP_PROFILEINFO * pProfiles
virtual P6R::P6ERR addRegisterMDORequest(P6UINT32 objectType, P6UINT32 cryptoAlg, P6UINT32 cryptoLength, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a meta-data only object (MDO).
P6KMIP_CERTNAME certificateIssuer
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTOLENGTH
const P6R::P6UINT8 KMIP_ATTRIB_DEACTIVATIONDATE
const P6R::P6UINT8 KMIP_ATTRIB_X509CERTIFICATEIDENTIFIER
virtual P6R::P6ERR addGetAttributesRequest(P6NCSTR uniqueIdentifier, P6UINT32 attribCount, P6NCSTR *pAttributeNames, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attributes batch item to the current request message.
virtual P6R::P6ERR endResponseMsg()=0
Finish the encoding of a KMIP response message.
P6KMIP_XATTRIB attribute.
virtual P6R::P6ERR addRegisterKeyRequest(p6ICryptoKey *pKey, P6UINT32 *pKeyFormatType, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped p6ICryptoKey (i.e., not encrypted nor signed)...
virtual P6R::P6ERR addPutWrappedKeyRequest(P6KMIP_PUT params, P6KMIP_WRAPPEDKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a wrapped key, which can be encrypted and/or signed.
P6KMIP_SETVALIDATION * pValidations
#define P6COMMETHOD
Definition: p6types.h:917
p6ICryptoKey * pKey
virtual P6R::P6ERR addArchiveRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the archive batch item to the current request message.
virtual P6R::P6ERR addReKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key batch item to the current response message.
const P6KMIPENCODERFLAGS P6KMIPENCODER_NOFLAGS
const P6R::P6UINT8 KMIP_ATTRIB_OBJECTGROUP
virtual P6R::P6ERR addRegisterWrappedKeyRequest(P6KMIP_WRAPPEDKEY wrapKey, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for a wrapped key, which can be encrypted and/or signed.
virtual P6R::P6ERR addDeleteAttributeRequest(P6NCSTR uniqueIdentifier, P6NCSTR attributeName, P6INT32 *pAttributeIndex, P6KMIP_MSGEXTENSION *pExtension)=0
Add the delete attribute batch item to the current request message.
virtual P6R::P6ERR setProtocolVersion(P6UINT32 version)=0
Allow the caller to switch KMIP protocol version in use at any time.
virtual P6R::P6ERR addReCertifyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-certify batch item to the current response message.
virtual P6R::P6ERR addValidateResponse(P6KMIP_RESPONSEPARAMS result, P6UINT32 validityIndicator, P6KMIP_MSGEXTENSION *pExtension)=0
Add the validate batch item to the current response message.
P6KMIP_USAGELIMITS usageLimits
const P6KMIPENCODERFLAGS P6KMIPENCODER_TRACEON
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
Definition: p6types.h:227
virtual P6R::P6ERR addPutResponse(P6KMIP_RESPONSEPARAMS result, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item to the current response message.
P6KMIP_CAPABILITIES.
P6KMIP_PGPKEY.
virtual P6R::P6ERR addGetUsageAllocationRequest(P6NCSTR uniqueIdentifier, P6UINT64 usageLimitsCount, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get usage allocated batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_NOVALUE
virtual P6R::P6ERR addValidateRequest(P6UINT32 certCount, p6ICert **pCertList, P6UINT32 idCount, P6NCSTR *pIdList, P6TIME *pValidityDate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the validate batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATELENGTH
virtual P6R::P6ERR addMACRequest2(P6KMIP_SIGNIN macParams, P6KMIP_CRYPTOSTREAM *pStreamState, P6KMIP_MSGEXTENSION *pExtension)=0
Add the MAC batch item to the current request message.
P6KMIP_TEMPLATEATTRIBUTE.
virtual P6R::P6ERR endRequestMsg()=0
Finish the encoding of a KMIP request message.
P6KMIP_DOMAINPARAMS dParams
P6UINT32 P6KMIPENCODERFLAGS
P6KMIPENCODERFLAGS.
virtual P6R::P6ERR addGetKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_KEY keyInfo, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.
virtual P6R::P6ERR addCertifyRequest(P6NCSTR uniqueIdentifier, P6UINT32 requestType, P6BCSTR certificateRequest, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the certify batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_UNIQUEIDENTIFIER
Attribute codes used in P6KMIP_ATTRIBUTE structure.
virtual P6R::P6ERR addReKeyKeyPairRequest(P6NCSTR uniqueIdentifier, P6UINT32 *pOffset, P6KMIP_TEMPLATEATTRIBUTE *pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the re-key key pair batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_PROTECTSTOPDATE
virtual P6R::P6ERR getBufPtr(p6IIoBuffer **pBuffer)=0
This method returns a pointer to the IO buffer component where the KMIP packet has been assembled...
P6KMIP_X509CERTNAME x509certificateIssuer
virtual P6R::P6ERR addGetAttributeListRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attribute list batch item to the current request message.
P6KMIP_APPLICATION attribute.
virtual P6R::P6ERR addPutTemplateRequest(P6KMIP_PUT params, P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a KMIP Template.
virtual P6R::P6ERR addPutKeyRequest(P6KMIP_PUT params, p6ICryptoKey *pKey, P6UINT32 *pKeyFormatType, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for an unwrapped p6ICryptoKey (i.e., not encrypted nor signed).
virtual P6R::P6ERR addCreateKeyPairRequest(P6KMIP_TEMPLATEATTRIBUTE *pCommonAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPrivateKeyAttributes, P6KMIP_TEMPLATEATTRIBUTE *pPublicKeyAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the createKeyPair batch item to the current request message.
virtual P6R::P6ERR addModifyAttributeRequest(P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the modify attribute batch item to the current request message.
virtual P6R::P6ERR addPutKeyRequest(P6KMIP_PUT params, p6ICryptoKey *pKey, P6UINT32 *pKeyFormatType, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for an unwrapped p6ICryptoKey (i.e., not encrypted nor signed).
P6KMIP_REQUESTPARAMS.
P6KMIP_CRYPTOPARAMS cParams
P6KMIP_CRYPTOPARAMS params
virtual P6R::P6ERR addDecryptRequest2(P6KMIP_CRYPTOIN decryptParams, P6KMIP_CRYPTOSTREAM *pStreamState, P6KMIP_MSGEXTENSION *pExtension)=0
Add the decrypt batch item to the current request message.
P6KMIP_SPLITSPEC.
virtual P6R::P6ERR addGetAttributesRequest(P6NCSTR uniqueIdentifier, P6UINT32 attribCount, P6NCSTR *pAttributeNames, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get attributes batch item to the current request message.
virtual P6R::P6ERR addLocateRequest2(P6UINT32 *pMaxItems, P6UINT32 *pOffsetItems, P6UINT32 *pStorageStatusMask, P6UINT32 *pObjectGroupMember, P6UINT32 attribCount, P6KMIP_ATTRIBUTE *pAttributeList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the locate batch item to the current request message.
virtual P6R::P6ERR addHashRequest2(P6KMIP_CRYPTOPARAMS cParams, P6BCSTR data, P6KMIP_CRYPTOSTREAM *pStreamState, P6KMIP_MSGEXTENSION *pExtension)=0
Add the Hash batch item to the current request message.
const P6R::P6UINT8 KMIP_ATTRIB_PROCESSSTARTDATE
virtual P6R::P6ERR addDeriveKeyResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the derive key batch item to the current response message.
virtual P6R::P6ERR addCancelRequest(P6BCSTR correlationValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the cancel batch item to the current request message.
virtual P6R::P6ERR addPutCertificateRequest(P6KMIP_PUT params, p6ICert *pCertificate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a certificate.
const P6R::P6UINT8 KMIP_ATTRIB_CERTIFICATEISSUER
P6KMIP_ATTRIBUTE * pAttributeList
virtual P6R::P6ERR addArchiveResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the archive batch item to the current response message.
const P6R::P6UINT8 KMIP_ATTRIB_CUSTOM
virtual P6R::P6ERR addPutCertificateRequest(P6KMIP_PUT params, p6ICert *pCertificate, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a certificate.
Interfaces for wallclock and interval time.
virtual P6R::P6ERR addEncryptRequest(P6KMIP_CRYPTOIN encryptParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the encrypt batch item to the current request message.
virtual P6R::P6ERR addSignatureVerifyRequest2(P6KMIP_SIGNIN signParams, P6KMIP_CRYPTOSTREAM *pStreamState, P6KMIP_MSGEXTENSION *pExtension)=0
Add the signature verify batch item to the current request message.
virtual P6R::P6ERR addDiscoverVersionsRequest(P6UINT32 itemCount, P6KMIP_VERSION *pVersionList, P6KMIP_MSGEXTENSION *pExtension)=0
Add the discover versions batch item to the current request message.
P6KMIP_WRAPPINGSPEC.
virtual P6R::P6ERR addDeriveKeyRequest(P6KMIP_DERIVEKEY derive, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the derive key batch item to the current request message.
P6KMIP_WRAPPEDKEY.
virtual P6R::P6ERR addCheckRequest(P6NCSTR uniqueIdentifier, P6INT64 *pUsageLimitsCount, P6UINT32 *pUsageMask, P6UINT32 *pLeaseTime, P6KMIP_MSGEXTENSION *pExtension)=0
Add the check batch item to the current request message.
virtual P6R::P6ERR addCreateResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6KMIP_TEMPLATEATTRIBUTE *pAttributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the create batch item to the current response message.
virtual P6R::P6ERR addPutWrappedKeyRequest(P6KMIP_PUT params, P6KMIP_WRAPPEDKEY *pKey, P6KMIP_MSGEXTENSION *pExtension)=0
Add the put batch item for a wrapped key, which can be encrypted and/or signed.
P6KMIP_X509CERTNAME x509certificateSubject
P6KMIP_KEYID.
virtual P6R::P6ERR addMACVerifyRequest(P6KMIP_SIGNIN macParams, P6KMIP_MSGEXTENSION *pExtension)=0
Add the MAC verify batch item to the current request message.
P6KMIP_X509CERTID x509certificateIdentifier
const P6R::P6UINT8 KMIP_ATTRIB_INITIALDATE
virtual P6R::P6ERR addObtainLeaseRequest(P6NCSTR uniqueIdentifier, P6KMIP_MSGEXTENSION *pExtension)=0
Add the obtain lease batch item to the current request message.
This interface is used to create / encode the construction of a KMIP request message as defined in Ke...
This interface is used to create / encode the construction of a KMIP response message as defined in K...
virtual P6R::P6ERR endRequestMsg()=0
Finish the encoding of a KMIP request message.
virtual P6R::P6ERR addRNGRetrieveRequest(P6INT32 dataLength, P6KMIP_MSGEXTENSION *pExtension)=0
Add the RNG Retrive batch item to the current request message.
virtual P6R::P6ERR addRegisterPGPKeyRequest(P6KMIP_PGPKEY key, P6KMIP_TEMPLATEATTRIBUTE attributes, P6KMIP_MSGEXTENSION *pExtension)=0
Add the register batch item for an unwrapped PGP key (i.e., not encrypted nor signed).
virtual P6R::P6ERR addModifyAttributeRequest(P6NCSTR uniqueIdentifier, P6KMIP_ATTRIBUTE attribute, P6KMIP_MSGEXTENSION *pExtension)=0
Add the modify attribute batch item to the current request message.
P6KMIP_EXTENSION.
P6R Cryptographic key interface definitions.
const P6R::P6UINT8 KMIP_ATTRIB_CRYPTOUSAGEMASK
virtual P6R::P6ERR addNotify(P6NCSTR uniqueIdentifier, P6UINT32 itemCount, P6KMIP_ATTRIBUTE *pItemList, P6BOOL *pIgnore, P6KMIP_MSGEXTENSION *pExtension)=0
A notify is used as the only batch item in a message.
virtual P6R::P6ERR addGetOpaqueResponse(P6KMIP_RESPONSEPARAMS result, P6NCSTR uniqueIdentifier, P6UINT32 dataType, P6BCSTR opaqueValue, P6KMIP_MSGEXTENSION *pExtension)=0
Add the get batch item to the current response message.