Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Security.​Cryptography.​Xml.​EncryptedType

Assembly: System.Security.Cryptography.Xml

Inheritance: object → EncryptedType

Represents the abstract base class from which the classes <see cref="T:System.Security.Cryptography.Xml.EncryptedData" /> and <see cref="T:System.Security.Cryptography.Xml.EncryptedKey" /> derive.

Properties

public CipherData
CipherData
Gets or sets the <see cref="T:System.Security.Cryptography.Xml.CipherData" /> value for an instance of an <see cref="T:System.Security.Cryptography.Xml.EncryptedType" /> class.
public string
Encoding
Gets or sets the <see langword="Encoding" /> attribute of an <see cref="T:System.Security.Cryptography.Xml.EncryptedType" /> instance in XML encryption.
EncryptionMethod
Gets or sets the <see langword="&lt;EncryptionMethod&gt;" /> element for XML encryption.
EncryptionProperties
Gets or sets the <see langword="&lt;EncryptionProperties&gt;" /> element in XML encryption.
public string
Id
Gets or sets the <see langword="Id" /> attribute of an <see cref="T:System.Security.Cryptography.Xml.EncryptedType" /> instance in XML encryption.
public KeyInfo
KeyInfo
Gets of sets the <see langword="&lt;KeyInfo&gt;" /> element in XML encryption.
public string
MimeType
Gets or sets the <see langword="MimeType" /> attribute of an <see cref="T:System.Security.Cryptography.Xml.EncryptedType" /> instance in XML encryption.
public string
Type
Gets or sets the <see langword="Type" /> attribute of an <see cref="T:System.Security.Cryptography.Xml.EncryptedType" /> instance in XML encryption.

Methods

public void
AddProperty​(EncryptionProperty ep)
Adds an <see langword="&lt;EncryptionProperty&gt;" /> child element to the <see langword="&lt;EncryptedProperties&gt;" /> element in the current <see cref="T:System.Security.Cryptography.Xml.EncryptedType" /> object in XML encryption.
ep An <see cref="T:System.Security.Cryptography.Xml.EncryptionProperty" /> object.
GetXml​()
Returns the XML representation of the <see cref="T:System.Security.Cryptography.Xml.EncryptedType" /> object.
Returns An <see cref="T:System.Xml.XmlElement" /> object that represents the <see langword="&lt;EncryptedType&gt;" /> element in XML encryption.
public void
LoadXml​(Xml.​XmlElement value)
Loads XML information into the <see langword="&lt;EncryptedType&gt;" /> element in XML encryption.
value An <see cref="T:System.Xml.XmlElement" /> object representing an XML element to use in the <see langword="&lt;EncryptedType&gt;" /> element.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object