mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 12:30:50 +01:00
bd36a85bff
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
1434 lines
42 KiB
C#
1434 lines
42 KiB
C#
/* Copyright (c) Citrix Systems Inc.
|
|
* All rights reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms,
|
|
* with or without modification, are permitted provided
|
|
* that the following conditions are met:
|
|
*
|
|
* * Redistributions of source code must retain the above
|
|
* copyright notice, this list of conditions and the
|
|
* following disclaimer.
|
|
* * Redistributions in binary form must reproduce the above
|
|
* copyright notice, this list of conditions and the
|
|
* following disclaimer in the documentation and/or other
|
|
* materials provided with the distribution.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
* SUCH DAMAGE.
|
|
*/
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace XenOvf.Definitions.XDIGSIG
|
|
{
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("Transform", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class TransformType
|
|
{
|
|
|
|
private object[] itemsField;
|
|
|
|
private string[] textField;
|
|
|
|
private string algorithmField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
[System.Xml.Serialization.XmlElementAttribute("XPath", typeof(string))]
|
|
public object[] Items
|
|
{
|
|
get
|
|
{
|
|
return this.itemsField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
public string[] Text
|
|
{
|
|
get
|
|
{
|
|
return this.textField;
|
|
}
|
|
set
|
|
{
|
|
this.textField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Algorithm
|
|
{
|
|
get
|
|
{
|
|
return this.algorithmField;
|
|
}
|
|
set
|
|
{
|
|
this.algorithmField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("SPKIData", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class SPKIDataType
|
|
{
|
|
|
|
private byte[][] sPKISexpField;
|
|
|
|
private System.Xml.XmlElement anyField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("SPKISexp", DataType = "base64Binary")]
|
|
public byte[][] SPKISexp
|
|
{
|
|
get
|
|
{
|
|
return this.sPKISexpField;
|
|
}
|
|
set
|
|
{
|
|
this.sPKISexpField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("PGPData", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class PGPDataType
|
|
{
|
|
|
|
private object[] itemsField;
|
|
|
|
private ItemsChoiceType1[] itemsElementNameField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
[System.Xml.Serialization.XmlElementAttribute("PGPKeyID", typeof(byte[]), DataType = "base64Binary")]
|
|
[System.Xml.Serialization.XmlElementAttribute("PGPKeyPacket", typeof(byte[]), DataType = "base64Binary")]
|
|
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
|
|
public object[] Items
|
|
{
|
|
get
|
|
{
|
|
return this.itemsField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
|
|
[System.Xml.Serialization.XmlIgnoreAttribute()]
|
|
public ItemsChoiceType1[] ItemsElementName
|
|
{
|
|
get
|
|
{
|
|
return this.itemsElementNameField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsElementNameField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#", IncludeInSchema = false)]
|
|
public enum ItemsChoiceType1
|
|
{
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlEnumAttribute("##any:")]
|
|
Item,
|
|
|
|
/// <remarks/>
|
|
PGPKeyID,
|
|
|
|
/// <remarks/>
|
|
PGPKeyPacket,
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
public partial class X509IssuerSerialType
|
|
{
|
|
|
|
private string x509IssuerNameField;
|
|
|
|
private string x509SerialNumberField;
|
|
|
|
/// <remarks/>
|
|
public string X509IssuerName
|
|
{
|
|
get
|
|
{
|
|
return this.x509IssuerNameField;
|
|
}
|
|
set
|
|
{
|
|
this.x509IssuerNameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "integer")]
|
|
public string X509SerialNumber
|
|
{
|
|
get
|
|
{
|
|
return this.x509SerialNumberField;
|
|
}
|
|
set
|
|
{
|
|
this.x509SerialNumberField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("X509Data", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class X509DataType
|
|
{
|
|
|
|
private object[] itemsField;
|
|
|
|
private ItemsChoiceType[] itemsElementNameField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
[System.Xml.Serialization.XmlElementAttribute("X509CRL", typeof(byte[]), DataType = "base64Binary")]
|
|
[System.Xml.Serialization.XmlElementAttribute("X509Certificate", typeof(byte[]), DataType = "base64Binary")]
|
|
[System.Xml.Serialization.XmlElementAttribute("X509IssuerSerial", typeof(X509IssuerSerialType))]
|
|
[System.Xml.Serialization.XmlElementAttribute("X509SKI", typeof(byte[]), DataType = "base64Binary")]
|
|
[System.Xml.Serialization.XmlElementAttribute("X509SubjectName", typeof(string))]
|
|
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
|
|
public object[] Items
|
|
{
|
|
get
|
|
{
|
|
return this.itemsField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
|
|
[System.Xml.Serialization.XmlIgnoreAttribute()]
|
|
public ItemsChoiceType[] ItemsElementName
|
|
{
|
|
get
|
|
{
|
|
return this.itemsElementNameField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsElementNameField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#", IncludeInSchema = false)]
|
|
public enum ItemsChoiceType
|
|
{
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlEnumAttribute("##any:")]
|
|
Item,
|
|
|
|
/// <remarks/>
|
|
X509CRL,
|
|
|
|
/// <remarks/>
|
|
X509Certificate,
|
|
|
|
/// <remarks/>
|
|
X509IssuerSerial,
|
|
|
|
/// <remarks/>
|
|
X509SKI,
|
|
|
|
/// <remarks/>
|
|
X509SubjectName,
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("RetrievalMethod", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class RetrievalMethodType
|
|
{
|
|
|
|
private TransformType[] transformsField;
|
|
|
|
private string uRIField;
|
|
|
|
private string typeField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable = false)]
|
|
public TransformType[] Transforms
|
|
{
|
|
get
|
|
{
|
|
return this.transformsField;
|
|
}
|
|
set
|
|
{
|
|
this.transformsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string URI
|
|
{
|
|
get
|
|
{
|
|
return this.uRIField;
|
|
}
|
|
set
|
|
{
|
|
this.uRIField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Type
|
|
{
|
|
get
|
|
{
|
|
return this.typeField;
|
|
}
|
|
set
|
|
{
|
|
this.typeField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("RSAKeyValue", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class RSAKeyValueType
|
|
{
|
|
|
|
private byte[] modulusField;
|
|
|
|
private byte[] exponentField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] Modulus
|
|
{
|
|
get
|
|
{
|
|
return this.modulusField;
|
|
}
|
|
set
|
|
{
|
|
this.modulusField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] Exponent
|
|
{
|
|
get
|
|
{
|
|
return this.exponentField;
|
|
}
|
|
set
|
|
{
|
|
this.exponentField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("DSAKeyValue", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class DSAKeyValueType
|
|
{
|
|
|
|
private byte[] pField;
|
|
|
|
private byte[] qField;
|
|
|
|
private byte[] gField;
|
|
|
|
private byte[] yField;
|
|
|
|
private byte[] jField;
|
|
|
|
private byte[] seedField;
|
|
|
|
private byte[] pgenCounterField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] P
|
|
{
|
|
get
|
|
{
|
|
return this.pField;
|
|
}
|
|
set
|
|
{
|
|
this.pField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] Q
|
|
{
|
|
get
|
|
{
|
|
return this.qField;
|
|
}
|
|
set
|
|
{
|
|
this.qField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] G
|
|
{
|
|
get
|
|
{
|
|
return this.gField;
|
|
}
|
|
set
|
|
{
|
|
this.gField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] Y
|
|
{
|
|
get
|
|
{
|
|
return this.yField;
|
|
}
|
|
set
|
|
{
|
|
this.yField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] J
|
|
{
|
|
get
|
|
{
|
|
return this.jField;
|
|
}
|
|
set
|
|
{
|
|
this.jField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] Seed
|
|
{
|
|
get
|
|
{
|
|
return this.seedField;
|
|
}
|
|
set
|
|
{
|
|
this.seedField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] PgenCounter
|
|
{
|
|
get
|
|
{
|
|
return this.pgenCounterField;
|
|
}
|
|
set
|
|
{
|
|
this.pgenCounterField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("KeyValue", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class KeyValueType
|
|
{
|
|
|
|
private object itemField;
|
|
|
|
private string[] textField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
[System.Xml.Serialization.XmlElementAttribute("DSAKeyValue", typeof(DSAKeyValueType))]
|
|
[System.Xml.Serialization.XmlElementAttribute("RSAKeyValue", typeof(RSAKeyValueType))]
|
|
public object Item
|
|
{
|
|
get
|
|
{
|
|
return this.itemField;
|
|
}
|
|
set
|
|
{
|
|
this.itemField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
public string[] Text
|
|
{
|
|
get
|
|
{
|
|
return this.textField;
|
|
}
|
|
set
|
|
{
|
|
this.textField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("KeyInfo", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class KeyInfoType
|
|
{
|
|
|
|
private object[] itemsField;
|
|
|
|
private ItemsChoiceType2[] itemsElementNameField;
|
|
|
|
private string[] textField;
|
|
|
|
private string idField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
[System.Xml.Serialization.XmlElementAttribute("KeyName", typeof(string))]
|
|
[System.Xml.Serialization.XmlElementAttribute("KeyValue", typeof(KeyValueType))]
|
|
[System.Xml.Serialization.XmlElementAttribute("MgmtData", typeof(string))]
|
|
[System.Xml.Serialization.XmlElementAttribute("PGPData", typeof(PGPDataType))]
|
|
[System.Xml.Serialization.XmlElementAttribute("RetrievalMethod", typeof(RetrievalMethodType))]
|
|
[System.Xml.Serialization.XmlElementAttribute("SPKIData", typeof(SPKIDataType))]
|
|
[System.Xml.Serialization.XmlElementAttribute("X509Data", typeof(X509DataType))]
|
|
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
|
|
public object[] Items
|
|
{
|
|
get
|
|
{
|
|
return this.itemsField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
|
|
[System.Xml.Serialization.XmlIgnoreAttribute()]
|
|
public ItemsChoiceType2[] ItemsElementName
|
|
{
|
|
get
|
|
{
|
|
return this.itemsElementNameField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsElementNameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
public string[] Text
|
|
{
|
|
get
|
|
{
|
|
return this.textField;
|
|
}
|
|
set
|
|
{
|
|
this.textField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#", IncludeInSchema = false)]
|
|
public enum ItemsChoiceType2
|
|
{
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlEnumAttribute("##any:")]
|
|
Item,
|
|
|
|
/// <remarks/>
|
|
KeyName,
|
|
|
|
/// <remarks/>
|
|
KeyValue,
|
|
|
|
/// <remarks/>
|
|
MgmtData,
|
|
|
|
/// <remarks/>
|
|
PGPData,
|
|
|
|
/// <remarks/>
|
|
RetrievalMethod,
|
|
|
|
/// <remarks/>
|
|
SPKIData,
|
|
|
|
/// <remarks/>
|
|
X509Data,
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("Signature", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class SignatureType
|
|
{
|
|
|
|
private SignedInfoType signedInfoField;
|
|
|
|
private SignatureValueType signatureValueField;
|
|
|
|
private KeyInfoType keyInfoField;
|
|
|
|
private ObjectType[] objectField;
|
|
|
|
private string idField;
|
|
|
|
/// <remarks/>
|
|
public SignedInfoType SignedInfo
|
|
{
|
|
get
|
|
{
|
|
return this.signedInfoField;
|
|
}
|
|
set
|
|
{
|
|
this.signedInfoField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public SignatureValueType SignatureValue
|
|
{
|
|
get
|
|
{
|
|
return this.signatureValueField;
|
|
}
|
|
set
|
|
{
|
|
this.signatureValueField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public KeyInfoType KeyInfo
|
|
{
|
|
get
|
|
{
|
|
return this.keyInfoField;
|
|
}
|
|
set
|
|
{
|
|
this.keyInfoField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("Object")]
|
|
public ObjectType[] Object
|
|
{
|
|
get
|
|
{
|
|
return this.objectField;
|
|
}
|
|
set
|
|
{
|
|
this.objectField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("SignedInfo", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class SignedInfoType
|
|
{
|
|
|
|
private CanonicalizationMethodType canonicalizationMethodField;
|
|
|
|
private SignatureMethodType signatureMethodField;
|
|
|
|
private ReferenceType1[] referenceField;
|
|
|
|
private string idField;
|
|
|
|
/// <remarks/>
|
|
public CanonicalizationMethodType CanonicalizationMethod
|
|
{
|
|
get
|
|
{
|
|
return this.canonicalizationMethodField;
|
|
}
|
|
set
|
|
{
|
|
this.canonicalizationMethodField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public SignatureMethodType SignatureMethod
|
|
{
|
|
get
|
|
{
|
|
return this.signatureMethodField;
|
|
}
|
|
set
|
|
{
|
|
this.signatureMethodField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("Reference")]
|
|
public ReferenceType1[] Reference
|
|
{
|
|
get
|
|
{
|
|
return this.referenceField;
|
|
}
|
|
set
|
|
{
|
|
this.referenceField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("CanonicalizationMethod", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class CanonicalizationMethodType
|
|
{
|
|
|
|
private System.Xml.XmlNode[] anyField;
|
|
|
|
private string algorithmField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlNode[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Algorithm
|
|
{
|
|
get
|
|
{
|
|
return this.algorithmField;
|
|
}
|
|
set
|
|
{
|
|
this.algorithmField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("SignatureMethod", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class SignatureMethodType
|
|
{
|
|
|
|
private string hMACOutputLengthField;
|
|
|
|
private System.Xml.XmlNode[] anyField;
|
|
|
|
private string algorithmField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "integer")]
|
|
public string HMACOutputLength
|
|
{
|
|
get
|
|
{
|
|
return this.hMACOutputLengthField;
|
|
}
|
|
set
|
|
{
|
|
this.hMACOutputLengthField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlNode[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Algorithm
|
|
{
|
|
get
|
|
{
|
|
return this.algorithmField;
|
|
}
|
|
set
|
|
{
|
|
this.algorithmField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(TypeName = "ReferenceType", Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("Reference", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class ReferenceType1
|
|
{
|
|
|
|
private TransformType[] transformsField;
|
|
|
|
private DigestMethodType digestMethodField;
|
|
|
|
private byte[] digestValueField;
|
|
|
|
private string idField;
|
|
|
|
private string uRIField;
|
|
|
|
private string typeField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable = false)]
|
|
public TransformType[] Transforms
|
|
{
|
|
get
|
|
{
|
|
return this.transformsField;
|
|
}
|
|
set
|
|
{
|
|
this.transformsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public DigestMethodType DigestMethod
|
|
{
|
|
get
|
|
{
|
|
return this.digestMethodField;
|
|
}
|
|
set
|
|
{
|
|
this.digestMethodField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] DigestValue
|
|
{
|
|
get
|
|
{
|
|
return this.digestValueField;
|
|
}
|
|
set
|
|
{
|
|
this.digestValueField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string URI
|
|
{
|
|
get
|
|
{
|
|
return this.uRIField;
|
|
}
|
|
set
|
|
{
|
|
this.uRIField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Type
|
|
{
|
|
get
|
|
{
|
|
return this.typeField;
|
|
}
|
|
set
|
|
{
|
|
this.typeField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("DigestMethod", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class DigestMethodType
|
|
{
|
|
|
|
private System.Xml.XmlNode[] anyField;
|
|
|
|
private string algorithmField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlNode[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Algorithm
|
|
{
|
|
get
|
|
{
|
|
return this.algorithmField;
|
|
}
|
|
set
|
|
{
|
|
this.algorithmField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("SignatureValue", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class SignatureValueType
|
|
{
|
|
|
|
private string idField;
|
|
|
|
private byte[] valueField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute(DataType = "base64Binary")]
|
|
public byte[] Value
|
|
{
|
|
get
|
|
{
|
|
return this.valueField;
|
|
}
|
|
set
|
|
{
|
|
this.valueField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("Object", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class ObjectType
|
|
{
|
|
|
|
private System.Xml.XmlNode[] anyField;
|
|
|
|
private string idField;
|
|
|
|
private string mimeTypeField;
|
|
|
|
private string encodingField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlNode[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute()]
|
|
public string MimeType
|
|
{
|
|
get
|
|
{
|
|
return this.mimeTypeField;
|
|
}
|
|
set
|
|
{
|
|
this.mimeTypeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Encoding
|
|
{
|
|
get
|
|
{
|
|
return this.encodingField;
|
|
}
|
|
set
|
|
{
|
|
this.encodingField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(TypeName = "TransformsType", Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("Transforms", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class TransformsType1
|
|
{
|
|
|
|
private TransformType[] transformField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("Transform")]
|
|
public TransformType[] Transform
|
|
{
|
|
get
|
|
{
|
|
return this.transformField;
|
|
}
|
|
set
|
|
{
|
|
this.transformField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("Manifest", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class ManifestType
|
|
{
|
|
|
|
private ReferenceType1[] referenceField;
|
|
|
|
private string idField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("Reference")]
|
|
public ReferenceType1[] Reference
|
|
{
|
|
get
|
|
{
|
|
return this.referenceField;
|
|
}
|
|
set
|
|
{
|
|
this.referenceField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("SignatureProperties", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class SignaturePropertiesType
|
|
{
|
|
|
|
private SignaturePropertyType[] signaturePropertyField;
|
|
|
|
private string idField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("SignatureProperty")]
|
|
public SignaturePropertyType[] SignatureProperty
|
|
{
|
|
get
|
|
{
|
|
return this.signaturePropertyField;
|
|
}
|
|
set
|
|
{
|
|
this.signaturePropertyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("SignatureProperty", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
|
|
public partial class SignaturePropertyType
|
|
{
|
|
|
|
private System.Xml.XmlElement[] itemsField;
|
|
|
|
private string[] textField;
|
|
|
|
private string targetField;
|
|
|
|
private string idField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement[] Items
|
|
{
|
|
get
|
|
{
|
|
return this.itemsField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
public string[] Text
|
|
{
|
|
get
|
|
{
|
|
return this.textField;
|
|
}
|
|
set
|
|
{
|
|
this.textField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Target
|
|
{
|
|
get
|
|
{
|
|
return this.targetField;
|
|
}
|
|
set
|
|
{
|
|
this.targetField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "ID")]
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return this.idField;
|
|
}
|
|
set
|
|
{
|
|
this.idField = value;
|
|
}
|
|
}
|
|
}
|
|
}
|