Click or drag to resize
XmlDigitalSignature Class
Provides a means to read and validate and digitally sign XML documents.
Inheritance Hierarchy
SystemObject
  Babel.LicensingXmlDigitalSignature

Namespace:  Babel.Licensing
Assemblies:   Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
  Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
Syntax
public class XmlDigitalSignature : ISignatureProvider, 
	ISignatureWriter, IRSAKeys, ISignatureKeyInfo

The XmlDigitalSignature type exposes the following members.

Constructors
  NameDescription
Public methodXmlDigitalSignature(RSA)
Initializes a new instance of the XmlDigitalSignature class with the specified RSA algorithm.
Public methodXmlDigitalSignature(RSA, Boolean)
Initializes a new instance of the XmlDigitalSignature class with the specified RSA algorithm.
Top
Properties
  NameDescription
Public propertyAlgorithmName
Gets the name of the sign algorithm.
Public propertyGenerateKeyInfo
Gets or sets a value indicating whether the generate key information.
Public propertyHasPrivateKey
Gets a value indicating whether this object has private key.
Public propertyHasPublicKey
Gets a value indicating whether this object has public key.
Public propertyKeyPair
Gets or sets the RSA key pair.
Public propertyRSA
Gets or sets the RSA algorithm.
Public propertySignatureValue
Gets the signature value.
Top
Methods
  NameDescription
Public methodStatic memberCreateFromKeyContainer
Creates an instance of RSASignature from the specified key container.
Public methodStatic memberCreateFromKeyFile
Creates an instance of XmlDigitalSignature from the specified key pair file.
Public methodStatic memberCreateFromSignedXml
Creates an XmlDigitalSignature object from the digitally signed XML document.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it 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.)
Public methodLoadXml
Loads an XML file to sign.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSign
Sign the XML.
Public methodToRSASignature
Converts this object to an RSASignature object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifySignature
Verify the XML digital signature.
Public methodWritePem(Stream, Boolean)
Writes the signature using PEM format to the specified stream.
Public methodWritePem(String, Boolean)
Writes the signature using PEM format to the specified file.
Public methodWriteXml
Writes the XML to the specified XmlWriter.
Top
See Also