1 /* 2 * CDDL HEADER START 3 * 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. 7 * 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. 12 * 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] 18 * 19 * CDDL HEADER END 20 */ 21 22 /* 23 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24 */ 25 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. 31 */ 32 33 #ifndef KMS_CertificateStub_H 34 #define KMS_CertificateStub_H 35 #ifndef WITH_NONAMESPACES 36 #define WITH_NONAMESPACES 37 #endif 38 #ifndef WITH_NOGLOBAL 39 #define WITH_NOGLOBAL 40 #endif 41 #include "stdsoap2.h" 42 43 namespace KMS_Certificate { 44 45 /******************************************************************************\ 46 * * 47 * Enumerations * 48 * * 49 \******************************************************************************/ 50 51 52 /******************************************************************************\ 53 * * 54 * Types with Custom Serializers * 55 * * 56 \******************************************************************************/ 57 58 59 /******************************************************************************\ 60 * * 61 * Classes and Structs * 62 * * 63 \******************************************************************************/ 64 65 66 #if 0 /* volatile type: do not declare here, declared elsewhere */ 67 68 #endif 69 70 #ifndef SOAP_TYPE_KMS_Certificate_xsd__hexBinary 71 #define SOAP_TYPE_KMS_Certificate_xsd__hexBinary (18) 72 /* hexBinary schema type: */ 73 struct xsd__hexBinary 74 { 75 public: 76 unsigned char *__ptr; 77 int __size; 78 }; 79 #endif 80 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 85 { 86 public: 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 */ 90 }; 91 #endif 92 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 97 { 98 public: 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 */ 102 }; 103 #endif 104 105 #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header 106 #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header (26) 107 /* SOAP Header: */ 108 struct SOAP_ENV__Header 109 { 110 #ifdef WITH_NOEMPTYSTRUCT 111 private: 112 char dummy; /* dummy member to enable compilation */ 113 #endif 114 }; 115 #endif 116 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 121 { 122 public: 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 */ 125 }; 126 #endif 127 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 132 { 133 public: 134 int __type; /* any type of element <fault> (defined below) */ 135 void *fault; /* transient */ 136 char *__any; 137 }; 138 #endif 139 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 144 { 145 public: 146 char *SOAP_ENV__Text; /* optional element of type xsd:string */ 147 }; 148 #endif 149 150 #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault 151 #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault (33) 152 /* SOAP Fault: */ 153 struct SOAP_ENV__Fault 154 { 155 public: 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 */ 165 }; 166 #endif 167 168 /******************************************************************************\ 169 * * 170 * Typedefs * 171 * * 172 \******************************************************************************/ 173 174 #ifndef SOAP_TYPE_KMS_Certificate__QName 175 #define SOAP_TYPE_KMS_Certificate__QName (5) 176 typedef char *_QName; 177 #endif 178 179 #ifndef SOAP_TYPE_KMS_Certificate__XML 180 #define SOAP_TYPE_KMS_Certificate__XML (6) 181 typedef char *_XML; 182 #endif 183 184 #ifndef SOAP_TYPE_KMS_Certificate_xsd__string 185 #define SOAP_TYPE_KMS_Certificate_xsd__string (7) 186 typedef char *xsd__string; 187 #endif 188 189 #ifndef SOAP_TYPE_KMS_Certificate_xsd__float 190 #define SOAP_TYPE_KMS_Certificate_xsd__float (9) 191 typedef float xsd__float; 192 #endif 193 194 #ifndef SOAP_TYPE_KMS_Certificate_xsd__int 195 #define SOAP_TYPE_KMS_Certificate_xsd__int (11) 196 typedef long xsd__int; 197 #endif 198 199 #ifndef SOAP_TYPE_KMS_Certificate_xsd__boolean 200 #define SOAP_TYPE_KMS_Certificate_xsd__boolean (13) 201 typedef bool xsd__boolean; 202 #endif 203 204 #ifndef SOAP_TYPE_KMS_Certificate_xsd__long 205 #define SOAP_TYPE_KMS_Certificate_xsd__long (15) 206 typedef LONG64 xsd__long; 207 #endif 208 209 #ifndef SOAP_TYPE_KMS_Certificate_xsd__dateTime 210 #define SOAP_TYPE_KMS_Certificate_xsd__dateTime (16) 211 typedef char *xsd__dateTime; 212 #endif 213 214 #ifndef SOAP_TYPE_KMS_Certificate_xsd__duration 215 #define SOAP_TYPE_KMS_Certificate_xsd__duration (17) 216 typedef char *xsd__duration; 217 #endif 218 219 220 /******************************************************************************\ 221 * * 222 * Externals * 223 * * 224 \******************************************************************************/ 225 226 227 /******************************************************************************\ 228 * * 229 * Server-Side Operations * 230 * * 231 \******************************************************************************/ 232 233 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); 235 236 /******************************************************************************\ 237 * * 238 * Server-Side Skeletons to Invoke Service Operations * 239 * * 240 \******************************************************************************/ 241 242 SOAP_FMAC5 int SOAP_FMAC6 KMS_Certificate_serve(struct soap*); 243 244 SOAP_FMAC5 int SOAP_FMAC6 KMS_Certificate_serve_request(struct soap*); 245 246 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_KMS_Certificate__RetrieveEntityCertificate(struct soap*); 247 248 /******************************************************************************\ 249 * * 250 * Client-Side Call Stubs * 251 * * 252 \******************************************************************************/ 253 254 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); 256 257 } // namespace KMS_Certificate 258 259 260 #endif 261 262 /* End of KMS_CertificateStub.h */ 263