CreaSign

XmlSignature.Load Method 

Loads an XML signature from the specified source.

[Visual Basic]
Public Sub Load( _
   ByVal Source As Object _
)

Parameters

Source
An object from which the XML signature should be loaded. See the Remarks section.

Remarks

The source should contain an XML signature document. Its root element must be the <ds:Signature> element.

The following types of sources are supported:

Source type Description
A string A new XML document is created from the string that holds the XML data.
An XML element A new XML document is created from the element (IXMLDomElement) that holds the data.
A byte array A new XML document is created from a single dimensional array of bytes.
A Data object A new XML document is created from the data stored in a Data object.
A custom object that implements the IStream interface A new XML document is created from the data stored in a custom object. Some of the objects that implement the IStream  interface:  ASP Request object, ASP Response object, ADO stream. 

Calling the Load method discards the content of the object.

If you already have an XML document which contains the signature, use the XmlNode property to attach the object to it.

Requirements

Requires CreaSign Pro (not supported by CreaSign Lite).

See Also

XmlSignature Class | CreaSign Namespace


Send comments on this topic.

(c) CREA 2002-2007 www.creasign.si