mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-25 11:49:52 +01:00
7c0bc50b4a
Inc. Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
782 lines
23 KiB
C#
782 lines
23 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;
|
|
|
|
using XenOvf.Definitions.XDIGSIG;
|
|
|
|
namespace XenOvf.Definitions.XENC
|
|
{
|
|
/// <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/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("CipherData", Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class CipherDataType
|
|
{
|
|
|
|
private object itemField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("CipherReference", typeof(CipherReferenceType))]
|
|
[System.Xml.Serialization.XmlElementAttribute("CipherValue", typeof(byte[]), DataType = "base64Binary")]
|
|
public object Item
|
|
{
|
|
get
|
|
{
|
|
return this.itemField;
|
|
}
|
|
set
|
|
{
|
|
this.itemField = 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/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("CipherReference", Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class CipherReferenceType
|
|
{
|
|
|
|
private TransformsType itemField;
|
|
|
|
private string uRIField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("Transforms")]
|
|
public TransformsType Item
|
|
{
|
|
get
|
|
{
|
|
return this.itemField;
|
|
}
|
|
set
|
|
{
|
|
this.itemField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string URI
|
|
{
|
|
get
|
|
{
|
|
return this.uRIField;
|
|
}
|
|
set
|
|
{
|
|
this.uRIField = 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/2001/04/xmlenc#")]
|
|
public partial class TransformsType
|
|
{
|
|
|
|
private TransformType[] transformField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("Transform", Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
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/2001/04/xmlenc#")]
|
|
public partial class EncryptionMethodType
|
|
{
|
|
|
|
private string keySizeField;
|
|
|
|
private byte[] oAEPparamsField;
|
|
|
|
private System.Xml.XmlNode[] anyField;
|
|
|
|
private string algorithmField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "integer")]
|
|
public string KeySize
|
|
{
|
|
get
|
|
{
|
|
return this.keySizeField;
|
|
}
|
|
set
|
|
{
|
|
this.keySizeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")]
|
|
public byte[] OAEPparams
|
|
{
|
|
get
|
|
{
|
|
return this.oAEPparamsField;
|
|
}
|
|
set
|
|
{
|
|
this.oAEPparamsField = 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.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedKeyType))]
|
|
[System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedDataType))]
|
|
[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/2001/04/xmlenc#")]
|
|
public abstract partial class EncryptedType
|
|
{
|
|
|
|
private EncryptionMethodType encryptionMethodField;
|
|
|
|
private KeyInfoType keyInfoField;
|
|
|
|
private CipherDataType cipherDataField;
|
|
|
|
private EncryptionPropertiesType encryptionPropertiesField;
|
|
|
|
private string idField;
|
|
|
|
private string typeField;
|
|
|
|
private string mimeTypeField;
|
|
|
|
private string encodingField;
|
|
|
|
/// <remarks/>
|
|
public EncryptionMethodType EncryptionMethod
|
|
{
|
|
get
|
|
{
|
|
return this.encryptionMethodField;
|
|
}
|
|
set
|
|
{
|
|
this.encryptionMethodField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
|
|
public KeyInfoType KeyInfo
|
|
{
|
|
get
|
|
{
|
|
return this.keyInfoField;
|
|
}
|
|
set
|
|
{
|
|
this.keyInfoField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public CipherDataType CipherData
|
|
{
|
|
get
|
|
{
|
|
return this.cipherDataField;
|
|
}
|
|
set
|
|
{
|
|
this.cipherDataField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public EncryptionPropertiesType EncryptionProperties
|
|
{
|
|
get
|
|
{
|
|
return this.encryptionPropertiesField;
|
|
}
|
|
set
|
|
{
|
|
this.encryptionPropertiesField = 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 Type
|
|
{
|
|
get
|
|
{
|
|
return this.typeField;
|
|
}
|
|
set
|
|
{
|
|
this.typeField = 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(Namespace = "http://www.w3.org/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("EncryptionProperties", Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class EncryptionPropertiesType
|
|
{
|
|
|
|
private EncryptionPropertyType[] encryptionPropertyField;
|
|
|
|
private string idField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("EncryptionProperty")]
|
|
public EncryptionPropertyType[] EncryptionProperty
|
|
{
|
|
get
|
|
{
|
|
return this.encryptionPropertyField;
|
|
}
|
|
set
|
|
{
|
|
this.encryptionPropertyField = 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/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("EncryptionProperty", Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class EncryptionPropertyType
|
|
{
|
|
|
|
private System.Xml.XmlElement[] itemsField;
|
|
|
|
private string[] textField;
|
|
|
|
private string targetField;
|
|
|
|
private string idField;
|
|
|
|
private System.Xml.XmlAttribute[] anyAttrField;
|
|
|
|
/// <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;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyAttributeAttribute()]
|
|
public System.Xml.XmlAttribute[] AnyAttr
|
|
{
|
|
get
|
|
{
|
|
return this.anyAttrField;
|
|
}
|
|
set
|
|
{
|
|
this.anyAttrField = 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/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("EncryptedData", Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class EncryptedDataType : EncryptedType
|
|
{
|
|
}
|
|
|
|
/// <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/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("EncryptedKey", Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class EncryptedKeyType : EncryptedType
|
|
{
|
|
|
|
private ReferenceList referenceListField;
|
|
|
|
private string carriedKeyNameField;
|
|
|
|
private string recipientField;
|
|
|
|
/// <remarks/>
|
|
public ReferenceList ReferenceList
|
|
{
|
|
get
|
|
{
|
|
return this.referenceListField;
|
|
}
|
|
set
|
|
{
|
|
this.referenceListField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string CarriedKeyName
|
|
{
|
|
get
|
|
{
|
|
return this.carriedKeyNameField;
|
|
}
|
|
set
|
|
{
|
|
this.carriedKeyNameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute()]
|
|
public string Recipient
|
|
{
|
|
get
|
|
{
|
|
return this.recipientField;
|
|
}
|
|
set
|
|
{
|
|
this.recipientField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlIncludeAttribute(typeof(DataReference))]
|
|
[System.Xml.Serialization.XmlIncludeAttribute(typeof(KeyReference))]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class ReferenceList
|
|
{
|
|
|
|
private ReferenceType[] itemsField;
|
|
|
|
private ItemsChoiceType3[] itemsElementNameField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("DataReference", typeof(ReferenceType))]
|
|
[System.Xml.Serialization.XmlElementAttribute("KeyReference", typeof(ReferenceType))]
|
|
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
|
|
public ReferenceType[] Items
|
|
{
|
|
get
|
|
{
|
|
return this.itemsField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
|
|
[System.Xml.Serialization.XmlIgnoreAttribute()]
|
|
public ItemsChoiceType3[] ItemsElementName
|
|
{
|
|
get
|
|
{
|
|
return this.itemsElementNameField;
|
|
}
|
|
set
|
|
{
|
|
this.itemsElementNameField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class DataReference : ReferenceType
|
|
{
|
|
private string valueTypeField;
|
|
|
|
[System.Xml.Serialization.XmlAttributeAttribute()]
|
|
public string ValueType
|
|
{
|
|
get
|
|
{
|
|
return this.valueTypeField;
|
|
}
|
|
set
|
|
{
|
|
this.valueTypeField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class KeyReference : ReferenceType
|
|
{
|
|
}
|
|
|
|
/// <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/2001/04/xmlenc#")]
|
|
public abstract class ReferenceType
|
|
{
|
|
|
|
private System.Xml.XmlElement[] anyField;
|
|
|
|
private string uRIField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string URI
|
|
{
|
|
get
|
|
{
|
|
return this.uRIField;
|
|
}
|
|
set
|
|
{
|
|
this.uRIField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2001/04/xmlenc#", IncludeInSchema = false)]
|
|
public enum ItemsChoiceType3
|
|
{
|
|
|
|
/// <remarks/>
|
|
DataReference,
|
|
|
|
/// <remarks/>
|
|
KeyReference,
|
|
}
|
|
|
|
/// <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/2001/04/xmlenc#")]
|
|
[System.Xml.Serialization.XmlRootAttribute("AgreementMethod", Namespace = "http://www.w3.org/2001/04/xmlenc#", IsNullable = false)]
|
|
public partial class AgreementMethodType
|
|
{
|
|
|
|
private byte[] kANonceField;
|
|
|
|
private System.Xml.XmlNode[] anyField;
|
|
|
|
private KeyInfoType originatorKeyInfoField;
|
|
|
|
private KeyInfoType recipientKeyInfoField;
|
|
|
|
private string algorithmField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("KA-Nonce", DataType = "base64Binary")]
|
|
public byte[] KANonce
|
|
{
|
|
get
|
|
{
|
|
return this.kANonceField;
|
|
}
|
|
set
|
|
{
|
|
this.kANonceField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlNode[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public KeyInfoType OriginatorKeyInfo
|
|
{
|
|
get
|
|
{
|
|
return this.originatorKeyInfoField;
|
|
}
|
|
set
|
|
{
|
|
this.originatorKeyInfoField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public KeyInfoType RecipientKeyInfo
|
|
{
|
|
get
|
|
{
|
|
return this.recipientKeyInfoField;
|
|
}
|
|
set
|
|
{
|
|
this.recipientKeyInfoField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
|
|
public string Algorithm
|
|
{
|
|
get
|
|
{
|
|
return this.algorithmField;
|
|
}
|
|
set
|
|
{
|
|
this.algorithmField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|