Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6kmipserverparser.h
Go to the documentation of this file.
1 
10 #ifndef P6KMIPSERVERPARSER_H__
11 #define P6KMIPSERVERPARSER_H__ 1
12 
13 #include "p6kmipclient.h"
14 #include "p6kmipencoder.h"
15 #include "p6domxml.h"
16 
17 #ifdef __cplusplus
18 namespace P6R {
19 extern "C" {
20 #endif
21 
22 
47 typedef struct {
68 
83 typedef struct {
93 
107 typedef struct {
116 
129 typedef struct {
137 
147 typedef struct {
152 
170 typedef struct {
183 
221 typedef struct {
224  union {
246  } value;
247 } P6KMIP_MANAGED_REQ;
248 
249 
261 typedef struct {
266 
278 typedef struct {
284 } P6KMIP_PUTREQ;
285 
298 typedef struct {
306 
316 typedef struct {
321 
332 typedef struct {
338 
352 typedef struct {
361 
373 typedef struct {
380 
392 typedef struct {
399 
415 typedef struct {
426 
444 typedef struct {
457 
471 typedef struct {
480 
490 typedef struct {
495 
508 typedef struct {
516 
522 typedef struct {
525 } P6KMIP_UIDREQ;
526 
538 typedef struct {
545 
556 typedef struct {
562 
575 typedef struct {
582 } P6KMIP_GETREQ;
583 
595 typedef struct {
602 
615 typedef struct {
621 
630 typedef struct {
634 
645 typedef struct {
651 
669 typedef struct {
677 
693 typedef struct {
704 
717 typedef struct {
725 
739 typedef struct {
748 
763 typedef struct {
773 
786 typedef struct {
793 } P6KMIP_MACREQ;
794 
808 typedef struct {
817 
832 typedef struct {
842 
858 typedef struct {
869 
881 typedef struct {
888 
889 
947 typedef struct {
949 
951  union {
996  } value;
997 } P6KMIP_BATCHREQ;
998 
1045 typedef struct {
1046  // -> filled in by server
1047  P6WCHAR clientAddr[P6MAXIPADDR];
1049 
1050  // -> request header
1064 
1065 
1071 #undef INTERFACE
1072 #define INTERFACE p6IKMIPBatchItems
1074 {
1087 
1101 
1110  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
1111 
1122  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
1123 };
1124 // {D1E114C4-E4AD-4881-866C-E3BB1FD5E0CA}
1125 #define IF_p6IKMIPBatchItems {0xd1e114c4,0xe4ad,0x4881,{0x86,0x6c,0xe3,0xbb,0x1f,0xd5,0xe0,0xca}}
1126 
1127 
1135 #undef INTERFACE
1136 #define INTERFACE p6IKMIPServerParser
1138 {
1155  P6DECLCOMMETHOD(initialize)(P6THIS_ P6KMIPFLAGS flags, P6UINT32 compatibility, p6IRandom* pRandom ) P6PURE;
1156 
1171  P6DECLCOMMETHOD(setMessageBuffer)(P6THIS_ P6UINT8 msgFormat, p6IIoBuffer* pInBuffer, p6IDataStream* pErrorStream ) P6PURE;
1172 
1185  P6DECLCOMMETHOD(getDOMTree)(P6THIS_ p6IDOMXML** ppInDOM ) P6PURE;
1186 
1200  P6DECLCOMMETHOD(parseRequest)(P6THIS_ P6KMIP_REQUEST_HEADER* pHeader, p6IKMIPBatchItems** pBatchItems ) P6PURE;
1201 };
1202 
1203 // {5CA24DF1-2A12-4ECB-9D88-AB28F6F854F6}
1204 #define IF_p6IKMIPServerParser {0x5ca24df1,0x2a12,0x4ecb,{0x9d,0x88,0xab,0x28,0xf6,0xf8,0x54,0xf6}}
1205 
1206 
1207 // {21B782EF-43D4-49CF-A1FE-FA04068EE6E9}
1208 #define COMP_p6KMIPServerParser {0x21b782ef,0x43d4,0x49cf,{0xa1,0xfe,0xfa,0x4,0x6,0x8e,0xe6,0xe9}}
1209 
1210 
1211 
1212 #ifdef __cplusplus
1213 } // extern "C"
1214 } // namespace
1215 #endif
1216 
1217 #endif
1218 
P6KMIP_OBJECT_SPLITKEY_REQ wrappedSplitKey
This interface is an enumerator that returns a list of KMIP UTF-8 text string type values...
Definition: p6kmipbase.h:290
P6KMIP_CRYPTOPARAMSREQ signParams
P6KMIP_DELETE_ATTREQ.
P6KMIP_RAWKEYBLOCK PKCS12
p6IKMIPBinary * pIVCounterNonce
uint64_t P6UINT64
Definition: p6types.h:79
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_BLOB.
Definition: p6kmipbase.h:1306
P6KMIP_KEYWRAPPING_SPECREQ.
p6IKMIPAttribute * pAttribute
P6KMIP_CERTIFYREQ reCertify
p6IKMIPAttribute * pPublicAttribute
P6KMIP_GET_USAGEREQ getUsageAllocation
This interface is an enumerator that returns a list of KMIP P6KMIP_VERSION values.
Definition: p6kmipbase.h:112
P6KMIP_KEYWRAPPING_DATAREQ wrapData
P6KMIP_RAWKEYBLOCK rawPublicKey
This interface defines a set of functions that translate an incoming KMIP client request into a set o...
P6KMIP_KEYWRAPPING_SPECREQ wrap
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_CRYPTOPARAMSREQ cryptoParams
uint32_t P6UINT32
Definition: p6types.h:77
P6KMIP_RAWKEYBLOCK rawPrivateKey
P6R's interface of the DOM parser.
Definition: p6domxml.h:102
#define P6DECLAREICOM
Definition: p6defs.h:191
P6KMIP_ENCRYPTREQ.
p6IKMIPBinary * pCorrelationValue
P6KMIP_EXPORTREQ exportObj
P6KMIP_MANAGED_REQ.
#define P6PURE
Definition: p6defs.h:192
P6KMIP_DELETE_ATTREQ deleteAttribute
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_KEYWRAPPING_DATAREQ wrapData
P6KMIP_MANAGED_REQ object
P6KMIP_CREATE_SPLITKEYREQ.
P6KMIP_WRAPKEYBLOCK_REQ wrappedSymmetricKey
P6KMIP_JOIN_SPLITKEYREQ joinSplitKey
p6IKMIPAttribute * pAttribute
P6KMIP_DERIVEKEYREQ deriveKey
unsigned char P6BOOL
Boolean type.
Definition: p6types.h:133
This interface is an enumerator that returns a list of KMIP P6KMIP_BATCHREQ values.
p6IKMIPAttribute * pAttribute
P6KMIP_SIGNATUE_VERIFYREQ.
P6KMIP_MSGEXTENSIONREQ extension
p6IKMIPBinary * pData
P6KMIP_CRYPTOPARAMSREQ cryptoParams
P6KMIP_REKEY_KEYPAIRREQ rekeyKeyPair
P6KMIP_GET_USAGEREQ.
char P6INT8
Definition: p6types.h:72
p6IKMIPAttribute * pAttribute
P6KMIP_GETATTREQ getAttributes
p6IKMIPBinary * pCorrelationValue
p6IKMIPBinary * pRNGSeed
P6KMIP_CREATE_KEYPAIRREQ createKeyPair
P6KMIP_LOCATEREQ locate
p6IKMIPAttribute * pCurrentAttrib
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_PGPBLOB.
Definition: p6kmipbase.h:1322
P6KMIP_VALIDATEREQ validate
p6IKMIPAttribute * pPrivateAttribute
P6R's interface of the DOM parser.
p6IKMIPAttribute * pAttribute
P6KMIP_INCOMING_REQUEST.
unsigned char P6UINT8
Definition: p6types.h:71
p6IKMIPAttribute * pNewAttribute
This interface is an enumerator that returns a list of KMIP binary array values.
Definition: p6kmipbase.h:374
P6KMIP_CREATE_SPLITKEYREQ createSplitKey
P6KMIP_DECRYPTREQ.
This interface is an enumerator that returns a list of KMIP attribute values.
Definition: p6kmipbase.h:798
P6KMIP_REGISTERREQ registerOp
p6IKMIPAttributeRef * pAttributeRef
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition: p6types.h:111
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_CERTIFYREQ certify
p6IKMIPAttribute * pPrivateAttribute
P6KMIP_KEYWRAPPING_DATAREQ.
p6IKMIPAttribute * pAttribute
P6KMIP_CRYPTOPARAMSREQ.
P6KMIP_REVOKEREQ.
P6KMIP_KEYWRAPPING_SPECREQ wrap
P6KMIP_MSGEXTENSIONREQ extension
This interface is implmented by components that support receiving streamed data.
Definition: p6datastream.h:44
P6KMIP_RAWKEYBLOCK.
Definition: p6kmipbase.h:1229
p6IKMIPAttribute * pAttribute
P6KMIP_CRYPTOPARAMSREQ cryptoParams
p6IKMIPAttributeRef * pAttributeRef
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
P6KMIP_RAWKEYBLOCK rawSymmetricKey
P6KMIP_VALIDATEREQ.
int64_t P6INT64
Definition: p6types.h:78
P6KMIP_DERIVEKEYREQ.
P6KMIP_CREATE_KEYPAIRREQ.
This encoder function defined in this file presents the lower level interface to the generation of KM...
P6KMIP_CRYPTOPARAMSREQ signParams
Provides a cryptographically strong random number generator.
Definition: p6random.h:99
p6IKMIPStr * pReplacedUniqueId
P6KMIP_NOTIFYREQ.
P6KMIP_GETATTREQ.
P6KMIP_WRAPSECRET_DATAREQ wrappedSecretData
P6KMIP_MSGEXTENSIONREQ extension
p6IKMIPAttribute * pAttribute
P6KMIP_EXPORTREQ.
p6IKMIPStr * pGetAttributeList
P6KMIP_CRYPTOPARAMSREQ encryptParams
p6IKMIPAttribute * pAttribute
p6IKMIPAttribute * pTemplate
P6KMIP_WRAPKEYBLOCK_REQ.
P6KMIP_MSGEXTENSIONREQ.
P6KMIP_MODIFY_ATTREQ.
P6KMIP_CRYPTOPARAMSREQ cryptoParams
P6KMIP_SIGNATUE_VERIFYREQ signatureVerify
P6KMIP_CRYPTOPARAMSREQ params
p6IKMIPAttribute * pCommonAttribute
p6IKMIPBinary * pCertRequest
p6IKMIPBinary * pCorrelationValue
P6KMIP_OBJECT_SPLITKEY_REQ.
p6IKMIPBinary * pAuthEncryptTag
P6KMIP_ENCRYPTREQ encrypt
P6KMIP_OBJECT_SPLITKEY_REQ splitKey
This interface allows the caller to access parts of an X509 V3 certificate for use in protocols and i...
Definition: p6cert.h:111
p6IKMIPBinary * pAuthEncryptAddData
p6IKMIPBinary * pDigestedData
P6KMIP_CERTIFYREQ.
P6KMIP_REGISTERREQ.
p6IKMIPBinary * pCorrelationValue
P6KMIP_DECRYPTREQ decrypt
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_MODIFY_ATTREQ addAttribute
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_CREATEREQ create
P6KMIP_MAC_VERIFYREQ MACVerify
This interface is an enumerator that returns a list of KMIP Template Names (i.e., Section 2...
Definition: p6kmipbase.h:1115
uint16_t P6UINT16
Definition: p6types.h:75
P6KMIP_REKEY_KEYPAIRREQ.
P6KMIP_MANAGED_REQ importObject
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_CRYPTOPARAMSREQ cryptoParams
p6IKMIPAttribute * pAttribute
P6KMIP_IMPORTREQ importObj
P6KMIP_KEYBLOCK.
Definition: p6kmipbase.h:1205
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
Definition: p6types.h:259
p6IKMIPBinary * pAuthEncryptAddData
P6KMIP_MAC_VERIFYREQ.
P6KMIP_REVOKEREQ revoke
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_CREATEREQ.
#define P6THIS_
Definition: p6defs.h:193
P6KMIP_JOIN_SPLITKEYREQ.
P6KMIP_MSGEXTENSIONREQ extension
P6KMIP_MSGEXTENSIONREQ extension
#define P6MAXIPADDR
Max legnth of the string representation of an ip address (IPv6 length + terminating NULL)...
Definition: p6defs.h:46
P6KMIP_MODIFY_ATTREQ modifyAttribute
P6KMIP_CRYPTOPARAMSREQ cryptoParams
P6KMIP_KEYWRAPPING_DATAREQ wrapData
P6KMIP_IMPORTREQ.
P6KMIP_CRYPTOPARAMSREQ encryptParams
p6IKMIPBinary * pUniqueBatchId
p6IKMIPBinary * pCorrelationValue
This interface is an enumerator that returns a list of KMIP enumeration type values.
Definition: p6kmipbase.h:191
p6IKMIPAttributeRef * pAttributeRef
P6KMIP_WRAPKEYBLOCK_REQ wrappedPublicKey
P6KMIP_LOCATEREQ.
P6KMIP_NOTIFYREQ notify
P6KMIP_MSGEXTENSIONREQ extension
p6IKMIPVersions * pVersions
int32_t P6INT32
Definition: p6types.h:76
P6KMIP_MANAGED_REQ pushObject
p6IKMIPBinary * pIVCounterNonce
This interface is an enumerator that returns a list of KMIP attribute references (added KMIP 2...
Definition: p6kmipbase.h:928
#define P6THIS
Definition: p6defs.h:194
P6KMIP_WRAPSECRET_DATAREQ.
This interface is an enumerator that returns a list of KMIP P6KMIP_CREDENTIAL values.
Definition: p6kmipbase.h:33
P6KMIP_CRYPTOPARAMSREQ cryptoParams
P6KMIP_WRAPKEYBLOCK_REQ wrappedPrivateKey
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188