Click or drag to resize
XmlRsaEncryption Class
Performs RSA Algorithm signing and encryption on XML documents.
Inheritance Hierarchy

Namespace: com.softwarekey.Client.Encryption
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax
public class XmlRsaEncryption : XmlRsaEncryptionBase

The XmlRsaEncryption type exposes the following members.

Constructors
  NameDescription
Public methodXmlRsaEncryption
Creates a new XmlRsaEncryption object. (Requires the EncryptionKey and InputDocument properties to be set before calling the Process method!)
Public methodXmlRsaEncryption(AuthorEncryptionKey, String)
Creates a new XmlRsaEncryption object, initialized with the encryption data and input XML document string.
Public methodXmlRsaEncryption(AuthorEncryptionKey, XmlDocument)
Creates a new XmlRsaEncryption object, initialized with the encryption data and input document.
Public methodXmlRsaEncryption(AuthorEncryptionKey, XmlNode)
Creates a new XmlRsaEncryption object, initialized with the encryption data and input XML root node.
Top
Properties
  NameDescription
Public propertyEncryptionKey
Gets or sets the Encryption Key data required for cryptographic routines.
(Inherited from XmlRsaEncryptionBase.)
Public propertyEncryptionOptions
Gets or sets options used when encrypting or decrypting.
(Inherited from XmlRsaEncryptionBase.)
Public propertyEnvelopeUpgradeBehavior
Gets or sets whether to only use the latest version of the Envelope or to fall back and attempt to use an older version of the envelope if decryption fails.
(Inherited from XmlRsaEncryptionBase.)
Public propertyInputDocument
Gets or sets the input XmlDocument.
(Inherited from XmlRsaEncryptionBase.)
Public propertyInputDocumentString
Gets or sets the input XML string. (Changing the InputDocument property affects this property, and setting this property updates the InputDocument property.)
(Inherited from XmlRsaEncryptionBase.)
Public propertyLastError
Gets or sets the last error that occurred.
(Inherited from XmlRsaEncryptionBase.)
Public propertyOutputDocument
Gets or sets the output XmlDocument (null when processing has not been or completed, or failed).
(Inherited from XmlRsaEncryptionBase.)
Public propertyOutputDocumentString
Gets the output XML string (derived from the OutputDocument property, this is an empty string null when processing has not been or completed, or failed).
(Inherited from XmlRsaEncryptionBase.)
Public propertySignatureOptions
Gets or sets options used when creating or verifying digital signatures.
(Inherited from XmlRsaEncryptionBase.)
Public propertyUseEncryption
Gets whether encryption or decryption is required.
(Inherited from XmlRsaEncryptionBase.)
Public propertyUseSignatures
Gets whether digital signatures need to be created or verified.
(Inherited from XmlRsaEncryptionBase.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcess
Processes the input document.
(Overrides XmlRsaEncryptionBaseProcess.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Remarks
Caution note Caution

Use of this class directly is atypical and generally not recommended. This is available to make it easier to use customized License File and Web service request formats.

See Also