// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Mono Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
//
// This source code was auto-generated by Mono Web Services Description Language Utility
//
// WARNING: Could not generate operation Pending. Schema element 'http://www.w3.org/2002/03/xkms#:PendingResult' not found
// WARNING: Could not generate operation Register. Schema element 'http://www.w3.org/2002/03/xkms#:Register' not found
///
[System.Web.Services.WebServiceBinding(Name="XKMSPort",Namespace="http://www.w3.org/2002/03/xkms#wsdl"),
System.Diagnostics.DebuggerStepThroughAttribute(),
System.ComponentModel.DesignerCategoryAttribute("code"),
System.Xml.Serialization.XmlInclude(typeof(RequestAbstractType)),
System.Xml.Serialization.XmlInclude(typeof(KeyBindingAbstractType)),
System.Xml.Serialization.XmlInclude(typeof(ResultType)),
System.Xml.Serialization.XmlInclude(typeof(MessageAbstractType)),
System.Xml.Serialization.XmlInclude(typeof(PendingRequestType)),
System.Xml.Serialization.XmlInclude(typeof(EncryptedType))]
public class XKMSService: System.Web.Services.Protocols.SoapHttpClientProtocol {
public XKMSService () {
this.Url = "&serviceURL;";
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("&soapaction;",ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare,Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[return: System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
public CompoundResultType Compound([System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
CompoundRequestType CompoundRequest) {
object[] results = this.Invoke("Compound", new object[] {
CompoundRequest});
return ((CompoundResultType)(results[0]));
}
public System.IAsyncResult BeginCompound(CompoundRequestType CompoundRequest, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Compound", new object[] {
CompoundRequest}, callback, asyncState);
}
public CompoundResultType EndCompound(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((CompoundResultType)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("&soapaction;",ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare,Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[return: System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
public StatusResultType Status([System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
StatusRequestType StatusRequest) {
object[] results = this.Invoke("Status", new object[] {
StatusRequest});
return ((StatusResultType)(results[0]));
}
public System.IAsyncResult BeginStatus(StatusRequestType StatusRequest, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Status", new object[] {
StatusRequest}, callback, asyncState);
}
public StatusResultType EndStatus(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((StatusResultType)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("&soapaction;",ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare,Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[return: System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
public LocateResultType Locate([System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
LocateRequestType LocateRequest) {
object[] results = this.Invoke("Locate", new object[] {
LocateRequest});
return ((LocateResultType)(results[0]));
}
public System.IAsyncResult BeginLocate(LocateRequestType LocateRequest, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Locate", new object[] {
LocateRequest}, callback, asyncState);
}
public LocateResultType EndLocate(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((LocateResultType)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("&soapaction;",ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare,Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[return: System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
public ValidateResultType Validate([System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
ValidateRequestType ValidateRequest) {
object[] results = this.Invoke("Validate", new object[] {
ValidateRequest});
return ((ValidateResultType)(results[0]));
}
public System.IAsyncResult BeginValidate(ValidateRequestType ValidateRequest, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Validate", new object[] {
ValidateRequest}, callback, asyncState);
}
public ValidateResultType EndValidate(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ValidateResultType)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("&soapaction;",ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare,Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[return: System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
public ReissueResultType Reissue([System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
ReissueRequestType ReissueRequest) {
object[] results = this.Invoke("Reissue", new object[] {
ReissueRequest});
return ((ReissueResultType)(results[0]));
}
public System.IAsyncResult BeginReissue(ReissueRequestType ReissueRequest, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Reissue", new object[] {
ReissueRequest}, callback, asyncState);
}
public ReissueResultType EndReissue(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ReissueResultType)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("&soapaction;",ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare,Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[return: System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
public RevokeResultType Revoke([System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
RevokeRequestType RevokeRequest) {
object[] results = this.Invoke("Revoke", new object[] {
RevokeRequest});
return ((RevokeResultType)(results[0]));
}
public System.IAsyncResult BeginRevoke(RevokeRequestType RevokeRequest, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Revoke", new object[] {
RevokeRequest}, callback, asyncState);
}
public RevokeResultType EndRevoke(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RevokeResultType)(results[0]));
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("&soapaction;",ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare,Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[return: System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
public RecoverResultType Recover([System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2002/03/xkms#")]
RecoverRequestType RecoverRequest) {
object[] results = this.Invoke("Recover", new object[] {
RecoverRequest});
return ((RecoverResultType)(results[0]));
}
public System.IAsyncResult BeginRecover(RecoverRequestType RecoverRequest, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Recover", new object[] {
RecoverRequest}, callback, asyncState);
}
public RecoverResultType EndRecover(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((RecoverResultType)(results[0]));
}
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("CompoundRequest",Namespace="http://www.w3.org/2002/03/xkms#")]
public class CompoundRequestType: RequestAbstractType {
///
[System.Xml.Serialization.XmlElement("LocateRequest",Type=typeof(LocateRequestType)),
System.Xml.Serialization.XmlElement("ValidateRequest",Type=typeof(ValidateRequestType)),
System.Xml.Serialization.XmlElement("RegisterRequest",Type=typeof(RegisterRequestType)),
System.Xml.Serialization.XmlElement("ReissueRequest",Type=typeof(ReissueRequestType)),
System.Xml.Serialization.XmlElement("RecoverRequest",Type=typeof(RecoverRequestType)),
System.Xml.Serialization.XmlElement("RevokeRequest",Type=typeof(RevokeRequestType))]
public MessageAbstractType[] Items;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("LocateRequest",Namespace="http://www.w3.org/2002/03/xkms#")]
public class LocateRequestType: RequestAbstractType {
///
public QueryKeyBindingType QueryKeyBinding;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("QueryKeyBinding",Namespace="http://www.w3.org/2002/03/xkms#")]
public class QueryKeyBindingType: KeyBindingAbstractType {
///
public TimeInstantType TimeInstant;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("TimeInstant",Namespace="http://www.w3.org/2002/03/xkms#")]
public class TimeInstantType {
///
[System.Xml.Serialization.XmlAttribute()]
public System.DateTime Time;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlInclude(typeof(UnverifiedKeyBindingType)),
System.Xml.Serialization.XmlInclude(typeof(KeyBindingType)),
System.Xml.Serialization.XmlInclude(typeof(PrototypeKeyBindingType)),
System.Xml.Serialization.XmlInclude(typeof(QueryKeyBindingType))]
public class KeyBindingAbstractType {
///
[System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2000/09/xmldsig#")]
public KeyInfoType KeyInfo;
///
[System.Xml.Serialization.XmlElement()]
public KeyUsageType[] KeyUsage;
///
[System.Xml.Serialization.XmlElement()]
public UseKeyWithType[] UseKeyWith;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("KeyInfo",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class KeyInfoType {
///
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemsChoiceType1[] ItemsElementName;
///
[System.Xml.Serialization.XmlElement("KeyName",Type=typeof(string)),
System.Xml.Serialization.XmlElement("KeyValue",Type=typeof(KeyValueType)),
System.Xml.Serialization.XmlElement("RetrievalMethod",Type=typeof(RetrievalMethodType)),
System.Xml.Serialization.XmlElement("X509Data",Type=typeof(X509DataType)),
System.Xml.Serialization.XmlElement("PGPData",Type=typeof(PGPDataType)),
System.Xml.Serialization.XmlElement("SPKIData",Type=typeof(SPKIDataType)),
System.Xml.Serialization.XmlElement("MgmtData",Type=typeof(string)),
System.Xml.Serialization.XmlAnyElement(Namespace=""),
System.Xml.Serialization.XmlChoiceIdentifier("ItemsElementName")]
public object[] Items;
///
[System.Xml.Serialization.XmlText()]
public string[] Text;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
}
///
[System.Xml.Serialization.XmlTypeAttribute(TypeName="ItemsChoiceType",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public enum ItemsChoiceType1 {
///
KeyName,
///
KeyValue,
///
RetrievalMethod,
///
X509Data,
///
PGPData,
///
SPKIData,
///
MgmtData,
///
[System.Xml.Serialization.XmlEnum(Name="")]
Item,
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("KeyValue",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class KeyValueType {
///
[System.Xml.Serialization.XmlElement("DSAKeyValue",Type=typeof(DSAKeyValueType)),
System.Xml.Serialization.XmlElement("RSAKeyValue",Type=typeof(RSAKeyValueType)),
System.Xml.Serialization.XmlAnyElement(Namespace="")]
public object Item;
///
[System.Xml.Serialization.XmlText()]
public string[] Text;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("DSAKeyValue",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class DSAKeyValueType {
///
public byte[] P;
///
public byte[] Q;
///
public byte[] J;
///
public byte[] G;
///
public byte[] Y;
///
public byte[] Seed;
///
public byte[] PgenCounter;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("RSAKeyValue",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class RSAKeyValueType {
///
public byte[] Modulus;
///
public byte[] Exponent;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("RetrievalMethod",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class RetrievalMethodType {
///
[System.Xml.Serialization.XmlArrayItem(IsNullable=false)]
public TransformType[] Transforms;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string URI;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Type;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("Transform",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class TransformType {
///
[System.Xml.Serialization.XmlAnyElement(Namespace=""),
System.Xml.Serialization.XmlElement("XPath",Type=typeof(string))]
public object[] Items;
///
[System.Xml.Serialization.XmlText()]
public string[] Text;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Algorithm;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("X509Data",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class X509DataType {
///
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemsChoiceType[] ItemsElementName;
///
[System.Xml.Serialization.XmlElement("X509IssuerSerial",Type=typeof(X509IssuerSerialType)),
System.Xml.Serialization.XmlElement("X509SKI",Type=typeof(byte[])),
System.Xml.Serialization.XmlElement("X509SubjectName",Type=typeof(string)),
System.Xml.Serialization.XmlElement("X509Certificate",Type=typeof(byte[])),
System.Xml.Serialization.XmlElement("X509CRL",Type=typeof(byte[])),
System.Xml.Serialization.XmlAnyElement(Namespace=""),
System.Xml.Serialization.XmlChoiceIdentifier("ItemsElementName")]
public object[] Items;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")]
public enum ItemsChoiceType {
///
X509IssuerSerial,
///
X509SKI,
///
X509SubjectName,
///
X509Certificate,
///
X509CRL,
///
[System.Xml.Serialization.XmlEnum(Name="")]
Item,
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class X509IssuerSerialType {
///
public string X509IssuerName;
///
[System.Xml.Serialization.XmlElement(DataType="integer")]
public string X509SerialNumber;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("PGPData",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class PGPDataType {
///
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemChoiceType ItemElementName;
///
[System.Xml.Serialization.XmlElement("PGPKeyID",Type=typeof(byte[])),
System.Xml.Serialization.XmlElement("PGPKeyPacket",Type=typeof(byte[])),
System.Xml.Serialization.XmlAnyElement(Namespace=""),
System.Xml.Serialization.XmlChoiceIdentifier("ItemElementName")]
public object Item;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")]
public enum ItemChoiceType {
///
PGPKeyID,
///
PGPKeyPacket,
///
[System.Xml.Serialization.XmlEnum(Name="")]
Item,
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("SPKIData",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class SPKIDataType {
///
[System.Xml.Serialization.XmlElement()]
public byte[][] SPKISexp;
///
[System.Xml.Serialization.XmlAnyElement(Namespace="")]
public System.Xml.XmlElement[] Any;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2002/03/xkms#")]
public enum KeyUsageType {
///
[System.Xml.Serialization.XmlEnum(Name="xkms:Encryption")]
xkmsEncryption,
///
[System.Xml.Serialization.XmlEnum(Name="xkms:Signature")]
xkmsSignature,
///
[System.Xml.Serialization.XmlEnum(Name="xkms:Exchange")]
xkmsExchange,
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("UseKeyWith",Namespace="http://www.w3.org/2002/03/xkms#")]
public class UseKeyWithType {
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Application;
///
[System.Xml.Serialization.XmlAttribute()]
public string Identifier;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("UnverifiedKeyBinding",Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlInclude(typeof(KeyBindingType))]
public class UnverifiedKeyBindingType: KeyBindingAbstractType {
///
public ValidityIntervalType ValidityInterval;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("ValidityInterval",Namespace="http://www.w3.org/2002/03/xkms#")]
public class ValidityIntervalType {
///
[System.Xml.Serialization.XmlAttribute()]
public System.DateTime NotBefore;
///
[System.Xml.Serialization.XmlIgnore()]
public bool NotBeforeSpecified;
///
[System.Xml.Serialization.XmlAttribute()]
public System.DateTime NotOnOrAfter;
///
[System.Xml.Serialization.XmlIgnore()]
public bool NotOnOrAfterSpecified;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("KeyBinding",Namespace="http://www.w3.org/2002/03/xkms#")]
public class KeyBindingType: UnverifiedKeyBindingType {
///
public StatusType Status;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("Status",Namespace="http://www.w3.org/2002/03/xkms#")]
public class StatusType {
///
[System.Xml.Serialization.XmlElement()]
public System.Xml.XmlQualifiedName[] ValidReason;
///
[System.Xml.Serialization.XmlElement()]
public System.Xml.XmlQualifiedName[] IndeterminateReason;
///
[System.Xml.Serialization.XmlElement()]
public System.Xml.XmlQualifiedName[] InvalidReason;
///
[System.Xml.Serialization.XmlAttribute()]
public KeyBindingStatus StatusValue;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2002/03/xkms#")]
public enum KeyBindingStatus {
///
[System.Xml.Serialization.XmlEnum(Name="xkms:Valid")]
xkmsValid,
///
[System.Xml.Serialization.XmlEnum(Name="xkms:Invalid")]
xkmsInvalid,
///
[System.Xml.Serialization.XmlEnum(Name="xkms:Indeterminate")]
xkmsIndeterminate,
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("PrototypeKeyBinding",Namespace="http://www.w3.org/2002/03/xkms#")]
public class PrototypeKeyBindingType: KeyBindingAbstractType {
///
public ValidityIntervalType ValidityInterval;
///
public byte[] RevocationCodeIdentifier;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlInclude(typeof(PendingRequestType)),
System.Xml.Serialization.XmlInclude(typeof(StatusRequestType)),
System.Xml.Serialization.XmlInclude(typeof(CompoundRequestType)),
System.Xml.Serialization.XmlInclude(typeof(RevokeRequestType)),
System.Xml.Serialization.XmlInclude(typeof(RecoverRequestType)),
System.Xml.Serialization.XmlInclude(typeof(ReissueRequestType)),
System.Xml.Serialization.XmlInclude(typeof(RegisterRequestType)),
System.Xml.Serialization.XmlInclude(typeof(ValidateRequestType)),
System.Xml.Serialization.XmlInclude(typeof(LocateRequestType))]
public class RequestAbstractType: MessageAbstractType {
///
[System.Xml.Serialization.XmlElement()]
public System.Xml.XmlQualifiedName[] ResponseMechanism;
///
[System.Xml.Serialization.XmlElement()]
public System.Xml.XmlQualifiedName[] RespondWith;
///
public PendingNotificationType PendingNotification;
///
[System.Xml.Serialization.XmlAttribute(DataType="NCName")]
public string OriginalRequestId;
///
[System.Xml.Serialization.XmlAttribute(DataType="integer")]
public string ResponseLimit;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("PendingNotification",Namespace="http://www.w3.org/2002/03/xkms#")]
public class PendingNotificationType {
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Mechanism;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Identifier;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlInclude(typeof(RequestAbstractType)),
System.Xml.Serialization.XmlInclude(typeof(PendingRequestType)),
System.Xml.Serialization.XmlInclude(typeof(StatusRequestType)),
System.Xml.Serialization.XmlInclude(typeof(CompoundRequestType)),
System.Xml.Serialization.XmlInclude(typeof(RevokeRequestType)),
System.Xml.Serialization.XmlInclude(typeof(RecoverRequestType)),
System.Xml.Serialization.XmlInclude(typeof(ReissueRequestType)),
System.Xml.Serialization.XmlInclude(typeof(RegisterRequestType)),
System.Xml.Serialization.XmlInclude(typeof(ValidateRequestType)),
System.Xml.Serialization.XmlInclude(typeof(LocateRequestType)),
System.Xml.Serialization.XmlInclude(typeof(ResultType)),
System.Xml.Serialization.XmlInclude(typeof(CompoundResultType)),
System.Xml.Serialization.XmlInclude(typeof(RevokeResultType)),
System.Xml.Serialization.XmlInclude(typeof(RecoverResultType)),
System.Xml.Serialization.XmlInclude(typeof(ReissueResultType)),
System.Xml.Serialization.XmlInclude(typeof(RegisterResultType)),
System.Xml.Serialization.XmlInclude(typeof(ValidateResultType)),
System.Xml.Serialization.XmlInclude(typeof(LocateResultType)),
System.Xml.Serialization.XmlInclude(typeof(StatusResultType))]
public class MessageAbstractType {
///
[System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2000/09/xmldsig#")]
public SignatureType Signature;
///
[System.Xml.Serialization.XmlElement()]
public MessageExtensionAbstractType[] MessageExtension;
///
[System.Xml.Serialization.XmlArrayItem(ElementName="OpaqueData",IsNullable=false)]
public byte[][] OpaqueClientData;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Service;
///
[System.Xml.Serialization.XmlAttribute()]
public byte[] Nonce;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("Signature",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class SignatureType {
///
public SignedInfoType SignedInfo;
///
public SignatureValueType SignatureValue;
///
public KeyInfoType KeyInfo;
///
[System.Xml.Serialization.XmlElement()]
public System.Xml.XmlNode[] Object;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("SignedInfo",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class SignedInfoType {
///
[System.Xml.Serialization.XmlArrayItem(IsNullable=false)]
public System.Xml.XmlNode[] CanonicalizationMethod;
///
public SignatureMethodType SignatureMethod;
///
[System.Xml.Serialization.XmlElement()]
public ReferenceType[] Reference;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("SignatureMethod",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class SignatureMethodType {
///
[System.Xml.Serialization.XmlElement(DataType="integer")]
public string HMACOutputLength;
///
[System.Xml.Serialization.XmlAnyElement(Namespace=""),
System.Xml.Serialization.XmlText()]
public System.Xml.XmlNode[] Any;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Algorithm;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("Reference",Namespace="http://www.w3.org/2000/09/xmldsig#")]
public class ReferenceType {
///
[System.Xml.Serialization.XmlArrayItem(IsNullable=false)]
public TransformType[] Transforms;
///
[System.Xml.Serialization.XmlArrayItem(IsNullable=false)]
public System.Xml.XmlNode[] DigestMethod;
///
public byte[] DigestValue;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string URI;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Type;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2000/09/xmldsig#"),
System.Xml.Serialization.XmlRoot("RequestSignatureValue",Namespace="http://www.w3.org/2002/03/xkms#")]
public class SignatureValueType {
///
[System.Xml.Serialization.XmlText()]
public byte[] Value;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("MessageExtension",Namespace="http://www.w3.org/2002/03/xkms#")]
public class MessageExtensionAbstractType {
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("PendingRequest",Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlInclude(typeof(StatusRequestType))]
public class PendingRequestType: RequestAbstractType {
///
[System.Xml.Serialization.XmlAttribute(DataType="NCName")]
public string ResponseId;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("StatusRequest",Namespace="http://www.w3.org/2002/03/xkms#")]
public class StatusRequestType: PendingRequestType {
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("RevokeRequest",Namespace="http://www.w3.org/2002/03/xkms#")]
public class RevokeRequestType: RequestAbstractType {
///
public KeyBindingType RevokeKeyBinding;
///
[System.Xml.Serialization.XmlElement("Authentication",Type=typeof(AuthenticationType)),
System.Xml.Serialization.XmlElement("RevocationCode",Type=typeof(byte[]))]
public object Item;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("Authentication",Namespace="http://www.w3.org/2002/03/xkms#")]
public class AuthenticationType {
///
public KeyBindingAuthenticationType KeyBindingAuthentication;
///
public NotBoundAuthenticationType NotBoundAuthentication;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("KeyBindingAuthentication",Namespace="http://www.w3.org/2002/03/xkms#")]
public class KeyBindingAuthenticationType {
///
[System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2000/09/xmldsig#")]
public SignatureType Signature;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("NotBoundAuthentication",Namespace="http://www.w3.org/2002/03/xkms#")]
public class NotBoundAuthenticationType {
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Protocol;
///
[System.Xml.Serialization.XmlAttribute()]
public byte[] Value;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("RecoverRequest",Namespace="http://www.w3.org/2002/03/xkms#")]
public class RecoverRequestType: RequestAbstractType {
///
public KeyBindingType RecoverKeyBinding;
///
public AuthenticationType Authentication;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("ReissueRequest",Namespace="http://www.w3.org/2002/03/xkms#")]
public class ReissueRequestType: RequestAbstractType {
///
public KeyBindingType ReissueKeyBinding;
///
public AuthenticationType Authentication;
///
public ProofOfPossessionType ProofOfPossession;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("ProofOfPossession",Namespace="http://www.w3.org/2002/03/xkms#")]
public class ProofOfPossessionType {
///
[System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2000/09/xmldsig#")]
public SignatureType Signature;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("RegisterRequest",Namespace="http://www.w3.org/2002/03/xkms#")]
public class RegisterRequestType: RequestAbstractType {
///
public PrototypeKeyBindingType PrototypeKeyBinding;
///
public AuthenticationType Authentication;
///
public ProofOfPossessionType ProofOfPossession;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("ValidateRequest",Namespace="http://www.w3.org/2002/03/xkms#")]
public class ValidateRequestType: RequestAbstractType {
///
public QueryKeyBindingType QueryKeyBinding;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlInclude(typeof(CompoundResultType)),
System.Xml.Serialization.XmlInclude(typeof(RevokeResultType)),
System.Xml.Serialization.XmlInclude(typeof(RecoverResultType)),
System.Xml.Serialization.XmlInclude(typeof(ReissueResultType)),
System.Xml.Serialization.XmlInclude(typeof(RegisterResultType)),
System.Xml.Serialization.XmlInclude(typeof(ValidateResultType)),
System.Xml.Serialization.XmlInclude(typeof(LocateResultType)),
System.Xml.Serialization.XmlInclude(typeof(StatusResultType))]
public class ResultType: MessageAbstractType {
///
public SignatureValueType RequestSignatureValue;
///
[System.Xml.Serialization.XmlAttribute()]
public System.Xml.XmlQualifiedName ResultMajor;
///
[System.Xml.Serialization.XmlAttribute()]
public System.Xml.XmlQualifiedName ResultMinor;
///
[System.Xml.Serialization.XmlAttribute(DataType="NCName")]
public string RequestId;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("CompoundResult",Namespace="http://www.w3.org/2002/03/xkms#")]
public class CompoundResultType: ResultType {
///
[System.Xml.Serialization.XmlElement("LocateResult",Type=typeof(LocateResultType)),
System.Xml.Serialization.XmlElement("ValidateResult",Type=typeof(ValidateResultType)),
System.Xml.Serialization.XmlElement("RegisterResult",Type=typeof(RegisterResultType)),
System.Xml.Serialization.XmlElement("ReissueResult",Type=typeof(ReissueResultType)),
System.Xml.Serialization.XmlElement("RecoverResult",Type=typeof(RecoverResultType)),
System.Xml.Serialization.XmlElement("RevokeResult",Type=typeof(RevokeResultType))]
public MessageAbstractType[] Items;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("LocateResult",Namespace="http://www.w3.org/2002/03/xkms#")]
public class LocateResultType: ResultType {
///
[System.Xml.Serialization.XmlElement()]
public UnverifiedKeyBindingType[] UnverifiedKeyBinding;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("ValidateResult",Namespace="http://www.w3.org/2002/03/xkms#")]
public class ValidateResultType: ResultType {
///
[System.Xml.Serialization.XmlElement()]
public KeyBindingType[] KeyBinding;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("RegisterResult",Namespace="http://www.w3.org/2002/03/xkms#")]
public class RegisterResultType: ResultType {
///
[System.Xml.Serialization.XmlElement()]
public KeyBindingType[] KeyBinding;
///
public PrivateKeyType PrivateKey;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("PrivateKey",Namespace="http://www.w3.org/2002/03/xkms#")]
public class PrivateKeyType {
///
[System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2001/04/xmlenc#")]
public EncryptedDataType EncryptedData;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2001/04/xmlenc#"),
System.Xml.Serialization.XmlRoot("EncryptedData",Namespace="http://www.w3.org/2001/04/xmlenc#")]
public class EncryptedDataType: EncryptedType {
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2001/04/xmlenc#"),
System.Xml.Serialization.XmlInclude(typeof(EncryptedDataType))]
public class EncryptedType {
///
public EncryptionMethodType EncryptionMethod;
///
[System.Xml.Serialization.XmlElement(Namespace="http://www.w3.org/2000/09/xmldsig#")]
public KeyInfoType KeyInfo;
///
public CipherDataType CipherData;
///
public EncryptionPropertiesType EncryptionProperties;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Type;
///
[System.Xml.Serialization.XmlAttribute()]
public string MimeType;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Encoding;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2001/04/xmlenc#")]
public class EncryptionMethodType {
///
[System.Xml.Serialization.XmlElement(DataType="integer")]
public string KeySize;
///
public byte[] OAEPparams;
///
[System.Xml.Serialization.XmlAnyElement(Namespace=""),
System.Xml.Serialization.XmlText()]
public System.Xml.XmlNode[] Any;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Algorithm;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2001/04/xmlenc#"),
System.Xml.Serialization.XmlRoot("CipherData",Namespace="http://www.w3.org/2001/04/xmlenc#")]
public class CipherDataType {
///
[System.Xml.Serialization.XmlElement("CipherValue",Type=typeof(byte[])),
System.Xml.Serialization.XmlElement("CipherReference",Type=typeof(CipherReferenceType))]
public object Item;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2001/04/xmlenc#"),
System.Xml.Serialization.XmlRoot("CipherReference",Namespace="http://www.w3.org/2001/04/xmlenc#")]
public class CipherReferenceType {
///
[System.Xml.Serialization.XmlArrayItem(Namespace="http://www.w3.org/2000/09/xmldsig#",IsNullable=false)]
public TransformType[] Transforms;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string URI;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2001/04/xmlenc#"),
System.Xml.Serialization.XmlRoot("EncryptionProperties",Namespace="http://www.w3.org/2001/04/xmlenc#")]
public class EncryptionPropertiesType {
///
[System.Xml.Serialization.XmlElement()]
public EncryptionPropertyType[] EncryptionProperty;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2001/04/xmlenc#"),
System.Xml.Serialization.XmlRoot("EncryptionProperty",Namespace="http://www.w3.org/2001/04/xmlenc#")]
public class EncryptionPropertyType {
///
[System.Xml.Serialization.XmlAnyElement(Namespace=""),
System.Xml.Serialization.XmlText()]
public System.Xml.XmlNode[] Any;
///
[System.Xml.Serialization.XmlAttribute(DataType="anyURI")]
public string Target;
///
[System.Xml.Serialization.XmlAttribute(DataType="ID")]
public string Id;
///
///
[System.Xml.Serialization.XmlAnyAttribute()]
public System.Xml.XmlAttribute[] AnyAttribute;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("ReissueResult",Namespace="http://www.w3.org/2002/03/xkms#")]
public class ReissueResultType: ResultType {
///
[System.Xml.Serialization.XmlElement()]
public KeyBindingType[] KeyBinding;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("RecoverResult",Namespace="http://www.w3.org/2002/03/xkms#")]
public class RecoverResultType: ResultType {
///
[System.Xml.Serialization.XmlElement()]
public KeyBindingType[] KeyBinding;
///
public PrivateKeyType PrivateKey;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("RevokeResult",Namespace="http://www.w3.org/2002/03/xkms#")]
public class RevokeResultType: ResultType {
///
[System.Xml.Serialization.XmlElement()]
public KeyBindingType[] KeyBinding;
}
///
[System.Xml.Serialization.XmlType(Namespace="http://www.w3.org/2002/03/xkms#"),
System.Xml.Serialization.XmlRoot("StatusResult",Namespace="http://www.w3.org/2002/03/xkms#")]
public class StatusResultType: ResultType {
///
[System.Xml.Serialization.XmlAttribute(DataType="integer")]
public string Success;
///
[System.Xml.Serialization.XmlAttribute(DataType="integer")]
public string Failure;
///
[System.Xml.Serialization.XmlAttribute(DataType="integer")]
public string Pending;
}