/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. */ /* KMS_CertificateStub.h Generated by gSOAP 2.7.17 from ../gsoapStubs/CertificateService/KMS_Certificate_SOAP.h Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved. This part of the software is released under one of the following licenses: GPL, the gSOAP public license, or Genivia's license for commercial use. */ #ifndef KMS_CertificateStub_H #define KMS_CertificateStub_H #ifndef WITH_NONAMESPACES #define WITH_NONAMESPACES #endif #ifndef WITH_NOGLOBAL #define WITH_NOGLOBAL #endif #include "stdsoap2.h" namespace KMS_Certificate { /******************************************************************************\ * * * Enumerations * * * \******************************************************************************/ /******************************************************************************\ * * * Types with Custom Serializers * * * \******************************************************************************/ /******************************************************************************\ * * * Classes and Structs * * * \******************************************************************************/ #if 0 /* volatile type: do not declare here, declared elsewhere */ #endif #ifndef SOAP_TYPE_KMS_Certificate_xsd__hexBinary #define SOAP_TYPE_KMS_Certificate_xsd__hexBinary (18) /* hexBinary schema type: */ struct xsd__hexBinary { public: unsigned char *__ptr; int __size; }; #endif #ifndef SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse #define SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse (22) /* KMS-Certificate:RetrieveEntityCertificateResponse */ struct KMS_Certificate__RetrieveEntityCertificateResponse { public: struct xsd__hexBinary ServerAuthenticationResponse; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:hexBinary */ struct xsd__hexBinary Certificate; /* required element of type xsd:hexBinary */ struct xsd__hexBinary WrappedPrivateKeyMaterial; /* required element of type xsd:hexBinary */ }; #endif #ifndef SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate #define SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate (25) /* KMS-Certificate:RetrieveEntityCertificate */ struct KMS_Certificate__RetrieveEntityCertificate { public: char *EntityID; /* optional element of type xsd:string */ struct xsd__hexBinary ClientAuthenticationResponse; /* required element of type xsd:hexBinary */ struct xsd__hexBinary ServerAuthenticationChallenge; /* required element of type xsd:hexBinary */ }; #endif #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header (26) /* SOAP Header: */ struct SOAP_ENV__Header { #ifdef WITH_NOEMPTYSTRUCT private: char dummy; /* dummy member to enable compilation */ #endif }; #endif #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code (27) /* SOAP Fault Code: */ struct SOAP_ENV__Code { public: char *SOAP_ENV__Value; /* optional element of type xsd:QName */ struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */ }; #endif #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail (29) /* SOAP-ENV:Detail */ struct SOAP_ENV__Detail { public: int __type; /* any type of element (defined below) */ void *fault; /* transient */ char *__any; }; #endif #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason (32) /* SOAP-ENV:Reason */ struct SOAP_ENV__Reason { public: char *SOAP_ENV__Text; /* optional element of type xsd:string */ }; #endif #ifndef SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault #define SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault (33) /* SOAP Fault: */ struct SOAP_ENV__Fault { public: char *faultcode; /* optional element of type xsd:QName */ char *faultstring; /* optional element of type xsd:string */ char *faultactor; /* optional element of type xsd:string */ struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */ struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */ struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */ char *SOAP_ENV__Node; /* optional element of type xsd:string */ char *SOAP_ENV__Role; /* optional element of type xsd:string */ struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */ }; #endif /******************************************************************************\ * * * Typedefs * * * \******************************************************************************/ #ifndef SOAP_TYPE_KMS_Certificate__QName #define SOAP_TYPE_KMS_Certificate__QName (5) typedef char *_QName; #endif #ifndef SOAP_TYPE_KMS_Certificate__XML #define SOAP_TYPE_KMS_Certificate__XML (6) typedef char *_XML; #endif #ifndef SOAP_TYPE_KMS_Certificate_xsd__string #define SOAP_TYPE_KMS_Certificate_xsd__string (7) typedef char *xsd__string; #endif #ifndef SOAP_TYPE_KMS_Certificate_xsd__float #define SOAP_TYPE_KMS_Certificate_xsd__float (9) typedef float xsd__float; #endif #ifndef SOAP_TYPE_KMS_Certificate_xsd__int #define SOAP_TYPE_KMS_Certificate_xsd__int (11) typedef long xsd__int; #endif #ifndef SOAP_TYPE_KMS_Certificate_xsd__boolean #define SOAP_TYPE_KMS_Certificate_xsd__boolean (13) typedef bool xsd__boolean; #endif #ifndef SOAP_TYPE_KMS_Certificate_xsd__long #define SOAP_TYPE_KMS_Certificate_xsd__long (15) typedef LONG64 xsd__long; #endif #ifndef SOAP_TYPE_KMS_Certificate_xsd__dateTime #define SOAP_TYPE_KMS_Certificate_xsd__dateTime (16) typedef char *xsd__dateTime; #endif #ifndef SOAP_TYPE_KMS_Certificate_xsd__duration #define SOAP_TYPE_KMS_Certificate_xsd__duration (17) typedef char *xsd__duration; #endif /******************************************************************************\ * * * Externals * * * \******************************************************************************/ /******************************************************************************\ * * * Server-Side Operations * * * \******************************************************************************/ 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); /******************************************************************************\ * * * Server-Side Skeletons to Invoke Service Operations * * * \******************************************************************************/ SOAP_FMAC5 int SOAP_FMAC6 KMS_Certificate_serve(struct soap*); SOAP_FMAC5 int SOAP_FMAC6 KMS_Certificate_serve_request(struct soap*); SOAP_FMAC5 int SOAP_FMAC6 soap_serve_KMS_Certificate__RetrieveEntityCertificate(struct soap*); /******************************************************************************\ * * * Client-Side Call Stubs * * * \******************************************************************************/ 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); } // namespace KMS_Certificate #endif /* End of KMS_CertificateStub.h */