System.Security 2.0.0.0 4.0.0.0 System.Object

The class represents the abstract base class from which the classes and derive. These two classes contain the actual encrypted data or key information in XML encryption. To comply with XML encryption standards, you should use these two derived classes.

For more information on XML encryption standards, see http://www.w3.org/TR/xmlenc-core/.

Represents the abstract base class from which the classes and derive.

- Constructor
  2.0.0.0
  4.0.0.0

  This constructor creates a new instance of the class. This class represents the abstract base class from which the classes and derive. To comply with XML encryption standards, you should use the two derived classes. For more information on XML encryption standards, see http://www.w3.org/TR/xmlenc-core/.

  Initializes a new instance of the class.

- Method
  2.0.0.0
  4.0.0.0
  System.Void ``

  This method can be used to add <EncryptionProperty> child elements to the <EncryptedProperties> element. The <EncryptedProperties> element provides additional information for the <EncryptedType> element.

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

  An object.
- Property
  2.0.0.0
  4.0.0.0
  System.Security.Cryptography.Xml.CipherData To be added.

  The <CipherData> element is a required element in XML encryption that provides the encrypted data. It must either contain the encrypted octet sequence as the base64-encoded text of the property, or provide a reference to an external location containing the encrypted octet sequence using the property.

  For more information about this element, see .

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

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  This property describes the encoding of the encrypted data. For example, if the encrypted data is a base64-encoded PNG, the encoding could be specified as 'http://www.w3.org/2000/09/xmldsig#base64'.

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

- Property
  2.0.0.0
  4.0.0.0
  System.Security.Cryptography.Xml.EncryptionMethod To be added.

  The <EncryptionMethod> is an optional element that describes the encryption algorithm applied to the encrypted data. If the element is absent, the encryption algorithm must be known by the recipient or decryption will fail.

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

- Property
  2.0.0.0
  4.0.0.0
  System.Security.Cryptography.Xml.EncryptionPropertyCollection To be added.

  The <EncryptionProperties> element can contain additional information about the creation of the instance, such as a date and time stamp or the serial number of cryptographic hardware used during encryption.

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

- Method
  2.0.0.0
  4.0.0.0
  System.Xml.XmlElement

  Use this method to output the <EncryptedType> element in XML.

  Returns the XML representation of the object.

  An object that represents the <EncryptedType> element in XML encryption.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  The Id attribute is an optional attribute of the <EncryptedType> element that provides a standard method for assigning a string identifier to an element within an XML document.

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

- Property
  2.0.0.0
  4.0.0.0
  System.Security.Cryptography.Xml.KeyInfo To be added.

  The <KeyInfo> element is an optional element that contains information about the key used to encrypt the data.

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

- Method
  2.0.0.0
  4.0.0.0
  System.Void ``

  Use this method to load an existing XML element into the object.

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

  An object representing an XML element to use in the <EncryptedType> element.
- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  The MimeType attribute is an optional attribute that describes the media type of the encrypted data. The value of this attribute is a string with values defined by RFC 2045: Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. For example, if the data that is encrypted is a base64-encoded PNG, the Encoding attribute would be 'http://www.w3.org/2000/09/xmldsig#base64' and the MimeType would be 'image/png'. This attribute is optional and no validation of the MimeType information is required. The attribute does not indicate that the encryption application must do any additional processing. Note that this information may not be necessary if it is already bound to the identifier in the Type attribute.

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

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  The Type attribute is an optional attribute that identifies type information about the text form of the encrypted content. While optional, this is an important attribute and is used in mandatory processing described in Processing Rules: Decryption (section 4.2) of the XML Encryption Syntax and Processing specification (http://www.w3.org/TR/xmlenc-core/). If the <EncryptedData> element contains data of type 'element' or element 'content', and replaces that data in an XML document, it is strongly recommended that the Type attribute be provided. Without this information, the application attempting to decrypt the information will be unable to automatically restore the XML document to its original text form.

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