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.​EncryptionMethod

Assembly: System.Security.Cryptography.Xml

Inheritance: object → EncryptionMethod

Encapsulates the encryption algorithm used for XML encryption.

Properties

public string
KeyAlgorithm
Gets or sets a Uniform Resource Identifier (URI) that describes the algorithm to use for XML encryption.
public int
KeySize
Gets or sets the algorithm key size used for XML encryption.

Methods

GetXml​()
Returns an <see cref="T:System.Xml.XmlElement" /> object that encapsulates an instance of the <see cref="T:System.Security.Cryptography.Xml.EncryptionMethod" /> class.
Returns An <see cref="T:System.Xml.XmlElement" /> object that encapsulates an instance of the <see cref="T:System.Security.Cryptography.Xml.EncryptionMethod" /> class.
public void
LoadXml​(Xml.​XmlElement value)
Parses the specified <see cref="T:System.Xml.XmlElement" /> object and configures the internal state of the <see cref="T:System.Security.Cryptography.Xml.EncryptionMethod" /> object to match.
value An <see cref="T:System.Xml.XmlElement" /> object to parse.
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