Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6kmipserver.h
Go to the documentation of this file.
1 
10 #ifndef P6KMIPSERVER_H__
11 #define P6KMIPSERVER_H__ 1
12 
13 #include "p6net.h"
14 #include "p6kmipclient.h"
15 #include "p6kmipencoder.h"
16 #include "p6keystore.h"
17 #include "p6domxml.h"
18 
19 #ifdef __cplusplus
20 namespace P6R {
21 extern "C" {
22 #endif
23 
30 #undef INTERFACE
31 #define INTERFACE p6IKMIPCred
33 {
45  P6DECLCOMMETHOD(next)(P6THIS_ P6KMIP_CREDENTIAL* pAuthenticate ) P6PURE;
46 
56 
67  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
68 };
69 // {3476064D-5B31-47f1-8053-9255107A54FF}
70 #define IF_p6IKMIPCred {0x3476064d,0x5b31,0x47f1,{0x80,0x53,0x92,0x55,0x10,0x7a,0x54,0xff}};
71 
72 // {59B925FC-8CD9-4c75-96B2-E37E8AEDC1B8}
73 #define COMP_p6KMIPCred {0x59b925fc,0x8cd9,0x4c75,{0x96,0xb2,0xe3,0x7e,0x8a,0xed,0xc1,0xb8}}
74 
75 
76 
85 typedef struct {
89 
100 typedef struct {
106 } P6KMIP_PUTREQ;
107 
129 typedef struct {
131  P6WCHAR clientAddr[P6MAXIPADDR];
133 
135  union {
140  } value;
141 } P6KMIP_INCOMING_REQUEST;
142 
143 
164 typedef P6ERR (*KMIP_SERVER_REQ)( P6VOID* pContext, P6KMIP_INCOMING_REQUEST* pRequest );
165 
166 
178 #undef INTERFACE
179 #define INTERFACE p6IKMIPServer
181 {
221  P6DECLCOMMETHOD(initialize)(P6THIS_ P6KMIPFLAGS flags, P6UINT32 listenPort, P6UINT32 compatibility, p6IKeystore* pCerts, KMIP_SERVER_REQ pFn, P6VOID* pContext ) P6PURE;
222 
234  P6DECLCOMMETHOD(start)(P6THIS) P6PURE;
235 
246 };
247 
248 // {FADB66B6-3687-412e-93A6-B8B0C20CAF35}
249 #define IF_p6IKMIPServer {0xfadb66b6,0x3687,0x412e,{0x93,0xa6,0xb8,0xb0,0xc2,0xc,0xaf,0x35}}
250 
251 // {32543015-6286-4c9c-965B-93FA177BEEE7}
252 #define COMP_p6KMIPServer {0x32543015,0x6286,0x4c9c,{0x96,0x5b,0x93,0xfa,0x17,0x7b,0xee,0xe7}}
253 
254 
255 #ifdef __cplusplus
256 } // extern "C"
257 } // namespace
258 #endif
259 
260 #endif
261 
This interface is an enumerator that returns a list of KMIP UTF-8 text string type values...
Definition: p6kmipclient.h:161
<div class="p6box"> This interface has been depricated in favor of p6IKeystore3.
Definition: p6keystore.h:689
This interface is an enumerator that returns a list of KMIP P6KMIP_VERSION values.
Definition: p6kmipclient.h:39
uint32_t P6UINT32
Definition: p6types.h:77
P6UINT32 P6KMIPFLAGS
P6KMIPFLAGS.
#define P6DECLAREICOM
Definition: p6defs.h:191
P6R's keystore component to manage keys, certificates, and blobs.
#define P6PURE
Definition: p6defs.h:192
This interface implements Section 5 from the KMIP specification: Server-to-Client Operations...
Definition: p6kmipserver.h:180
P6R's interface of the DOM parser.
This interface is an enumerator that returns a list of KMIP attribute values.
Definition: p6kmipclient.h:481
P6KMIP_CREDENTIAL.
p6IKMIPStr * pUniqueId
Definition: p6kmipserver.h:86
p6IKMIPVersions * pVersions
Definition: p6kmipserver.h:139
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition: p6types.h:111
p6IKMIPAttribute * pAttribute
Definition: p6kmipserver.h:87
p6IKMIPAttribute * pAttribute
Definition: p6kmipserver.h:105
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
This encoder function defined in this file presents the lower level interface to the generation of KM...
p6IKMIPStr * pReplacedUniqueId
Definition: p6kmipserver.h:103
P6KMIP_NOTIFYREQ.
Definition: p6kmipserver.h:85
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
P6KMIP_PUTREQ.
Definition: p6kmipserver.h:100
P6KMIP_MANAGED pushObject
Definition: p6kmipserver.h:104
References 1) OASIS, "Key Management Interoperabilty Protocol Specification 1.2", Working Draft 08...
P6UINT32 P6ERR
COM err return type see P6ERR.h.
Definition: p6types.h:141
P6KMIP_INCOMING_REQUEST.
Definition: p6kmipserver.h:129
Network interfaces and definitions.
P6ERR(* KMIP_SERVER_REQ)(P6VOID *pContext, P6KMIP_INCOMING_REQUEST *pRequest)
KMIP Server Request Callback.
Definition: p6kmipserver.h:164
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
#define P6MAXIPADDR
Max legnth of the string representation of an ip address (IPv6 length + terminating NULL)...
Definition: p6defs.h:46
p6IKMIPStr * pUniqueId
Definition: p6kmipserver.h:101
This interface is an enumerator that returns a list of KMIP enumeration type values.
Definition: p6kmipclient.h:90
void P6VOID
Definition: p6types.h:109
#define P6THIS
Definition: p6defs.h:194
P6KMIP_MANAGED.
This interface is an enumerator that returns a list of KMIP P6KMIP_CREDENTIAL values.
Definition: p6kmipserver.h:32
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188