<PackageReference Include="System.Security.Cryptography.Xml" Version="11.0.0-preview.6.26359.118" />

System.Security.Cryptography.Xml.EncryptedType

public abstract class EncryptedType
Represents the abstract base class from which the classes EncryptedData and EncryptedKey derive.
public virtual CipherData CipherData { get; set; }

Gets or sets the CipherData value for an instance of an EncryptedType class.

public virtual string Encoding { get; set; }

Gets or sets the Encoding attribute of an EncryptedType instance in XML encryption.

public virtual EncryptionMethod EncryptionMethod { get; set; }

Gets or sets the <EncryptionMethod> element for XML encryption.

Gets or sets the <EncryptionProperties> element in XML encryption.

public virtual string Id { get; set; }

Gets or sets the Id attribute of an EncryptedType instance in XML encryption.

public KeyInfo KeyInfo { get; set; }

Gets of sets the <KeyInfo> element in XML encryption.

public virtual string MimeType { get; set; }

Gets or sets the MimeType attribute of an EncryptedType instance in XML encryption.

public virtual string Type { get; set; }

Gets or sets the Type attribute of an EncryptedType instance in XML encryption.

protected EncryptedType()

Initializes a new instance of the EncryptedType class.

Adds an <EncryptionProperty> child element to the <EncryptedProperties> element in the current EncryptedType object in XML encryption.

public abstract XmlElement GetXml()

Returns the XML representation of the EncryptedType object.

public abstract void LoadXml(XmlElement value)

Loads XML information into the <EncryptedType> element in XML encryption.