4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
26 /* KMS_CertificateStub.h
27 Generated by gSOAP 2.7.17 from ../gsoapStubs/CertificateService/KMS_Certificate_SOAP.h
28 Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
29 This part of the software is released under one of the following licenses:
30 GPL, the gSOAP public license, or Genivia's license for commercial use.
33 #ifndef KMS_CertificateStub_H
34 #define KMS_CertificateStub_H
35 #ifndef WITH_NONAMESPACES
36 #define WITH_NONAMESPACES
43 namespace KMS_Certificate
{
45 /******************************************************************************\
49 \******************************************************************************/
52 /******************************************************************************\
54 * Types with Custom Serializers *
56 \******************************************************************************/
59 /******************************************************************************\
61 * Classes and Structs *
63 \******************************************************************************/
66 #if 0 /* volatile type: do not declare here, declared elsewhere */
70 #ifndef SOAP_TYPE_KMS_Certificate_xsd__hexBinary
71 #define SOAP_TYPE_KMS_Certificate_xsd__hexBinary (18)
72 /* hexBinary schema type: */
81 #ifndef SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse
82 #define SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse (22)
83 /* KMS-Certificate:RetrieveEntityCertificateResponse */
84 struct KMS_Certificate__RetrieveEntityCertificateResponse
87 struct xsd__hexBinary ServerAuthenticationResponse
; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:hexBinary */
88 struct xsd__hexBinary Certificate
; /* required element of type xsd:hexBinary */
89 struct xsd__hexBinary WrappedPrivateKeyMaterial
; /* required element of type xsd:hexBinary */
93 #ifndef SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate
94 #define SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate (25)
95 /* KMS-Certificate:RetrieveEntityCertificate */
96 struct KMS_Certificate__RetrieveEntityCertificate
99 char *EntityID
; /* optional element of type xsd:string */
100 struct xsd__hexBinary ClientAuthenticationResponse
; /* required element of type xsd:hexBinary */
101 struct xsd__hexBinary ServerAuthenticationChallenge
; /* required element of type xsd:hexBinary */
105 #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header
106 #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header (26)
108 struct SOAP_ENV__Header
110 #ifdef WITH_NOEMPTYSTRUCT
112 char dummy
; /* dummy member to enable compilation */
117 #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code
118 #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code (27)
119 /* SOAP Fault Code: */
120 struct SOAP_ENV__Code
123 char *SOAP_ENV__Value
; /* optional element of type xsd:QName */
124 struct SOAP_ENV__Code
*SOAP_ENV__Subcode
; /* optional element of type SOAP-ENV:Code */
128 #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail
129 #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail (29)
130 /* SOAP-ENV:Detail */
131 struct SOAP_ENV__Detail
134 int __type
; /* any type of element <fault> (defined below) */
135 void *fault
; /* transient */
140 #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason
141 #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason (32)
142 /* SOAP-ENV:Reason */
143 struct SOAP_ENV__Reason
146 char *SOAP_ENV__Text
; /* optional element of type xsd:string */
150 #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault
151 #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault (33)
153 struct SOAP_ENV__Fault
156 char *faultcode
; /* optional element of type xsd:QName */
157 char *faultstring
; /* optional element of type xsd:string */
158 char *faultactor
; /* optional element of type xsd:string */
159 struct SOAP_ENV__Detail
*detail
; /* optional element of type SOAP-ENV:Detail */
160 struct SOAP_ENV__Code
*SOAP_ENV__Code
; /* optional element of type SOAP-ENV:Code */
161 struct SOAP_ENV__Reason
*SOAP_ENV__Reason
; /* optional element of type SOAP-ENV:Reason */
162 char *SOAP_ENV__Node
; /* optional element of type xsd:string */
163 char *SOAP_ENV__Role
; /* optional element of type xsd:string */
164 struct SOAP_ENV__Detail
*SOAP_ENV__Detail
; /* optional element of type SOAP-ENV:Detail */
168 /******************************************************************************\
172 \******************************************************************************/
174 #ifndef SOAP_TYPE_KMS_Certificate__QName
175 #define SOAP_TYPE_KMS_Certificate__QName (5)
176 typedef char *_QName
;
179 #ifndef SOAP_TYPE_KMS_Certificate__XML
180 #define SOAP_TYPE_KMS_Certificate__XML (6)
184 #ifndef SOAP_TYPE_KMS_Certificate_xsd__string
185 #define SOAP_TYPE_KMS_Certificate_xsd__string (7)
186 typedef char *xsd__string
;
189 #ifndef SOAP_TYPE_KMS_Certificate_xsd__float
190 #define SOAP_TYPE_KMS_Certificate_xsd__float (9)
191 typedef float xsd__float
;
194 #ifndef SOAP_TYPE_KMS_Certificate_xsd__int
195 #define SOAP_TYPE_KMS_Certificate_xsd__int (11)
196 typedef long xsd__int
;
199 #ifndef SOAP_TYPE_KMS_Certificate_xsd__boolean
200 #define SOAP_TYPE_KMS_Certificate_xsd__boolean (13)
201 typedef bool xsd__boolean
;
204 #ifndef SOAP_TYPE_KMS_Certificate_xsd__long
205 #define SOAP_TYPE_KMS_Certificate_xsd__long (15)
206 typedef LONG64 xsd__long
;
209 #ifndef SOAP_TYPE_KMS_Certificate_xsd__dateTime
210 #define SOAP_TYPE_KMS_Certificate_xsd__dateTime (16)
211 typedef char *xsd__dateTime
;
214 #ifndef SOAP_TYPE_KMS_Certificate_xsd__duration
215 #define SOAP_TYPE_KMS_Certificate_xsd__duration (17)
216 typedef char *xsd__duration
;
220 /******************************************************************************\
224 \******************************************************************************/
227 /******************************************************************************\
229 * Server-Side Operations *
231 \******************************************************************************/
234 SOAP_FMAC5
int SOAP_FMAC6
KMS_Certificate__RetrieveEntityCertificate(struct soap
*, char *EntityID
, struct xsd__hexBinary ClientAuthenticationResponse
, struct xsd__hexBinary ServerAuthenticationChallenge
, struct KMS_Certificate__RetrieveEntityCertificateResponse
&result
);
236 /******************************************************************************\
238 * Server-Side Skeletons to Invoke Service Operations *
240 \******************************************************************************/
242 SOAP_FMAC5
int SOAP_FMAC6
KMS_Certificate_serve(struct soap
*);
244 SOAP_FMAC5
int SOAP_FMAC6
KMS_Certificate_serve_request(struct soap
*);
246 SOAP_FMAC5
int SOAP_FMAC6
soap_serve_KMS_Certificate__RetrieveEntityCertificate(struct soap
*);
248 /******************************************************************************\
250 * Client-Side Call Stubs *
252 \******************************************************************************/
255 SOAP_FMAC5
int SOAP_FMAC6
soap_call_KMS_Certificate__RetrieveEntityCertificate(struct soap
*soap
, const char *soap_endpoint
, const char *soap_action
, char *EntityID
, struct xsd__hexBinary ClientAuthenticationResponse
, struct xsd__hexBinary ServerAuthenticationChallenge
, struct KMS_Certificate__RetrieveEntityCertificateResponse
&result
);
257 } // namespace KMS_Certificate
262 /* End of KMS_CertificateStub.h */