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.​EncryptedData
Assembly: System.Security.Cryptography.Xml
Inheritance: object → EncryptedType → EncryptedData
Represents the <see langword="<EncryptedData>" /> element in XML encryption. This class cannot be inherited.
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.
public
EncryptionMethod
EncryptionMethod
Gets or sets the <see langword="<EncryptionMethod>" /> element for XML encryption.
public
EncryptionPropertyCollection
EncryptionProperties
Gets or sets the <see langword="<EncryptionProperties>" /> 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="<KeyInfo>" /> 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
GetXml​()
Returns the XML representation of the <see cref="T:System.Security.Cryptography.Xml.EncryptedData" /> object.
Returns An <see cref="T:System.Xml.XmlElement" /> that represents the <see langword="<EncryptedData>" /> element in XML encryption.
public
void
LoadXml​(Xml.​XmlElement value)
Loads XML information into the <see langword="<EncryptedData>" /> element in XML encryption.
value
An <see cref="T:System.Xml.XmlElement" /> object representing an XML element to use for the <see langword="<EncryptedData>" /> element.
public
void
AddProperty​(EncryptionProperty ep)
Inherited from EncryptedType
Adds an <see langword="<EncryptionProperty>" /> child element to the <see langword="<EncryptedProperties>" /> 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.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object