Creates a signature on the specified data.
Signed data.
The following types of data are supported:
| Source type | XML signature | PKCS#7 signature |
|---|---|---|
| A string | A new XML document is created from a string and
signed.
When the SignatureFormat is SignatureFormatEnvelopingText the data is treated as text. Otherwise, the data is treated as an XML document. |
Not supported. |
| An XML element | A new XML document is created from the element (IXMLDomElement) that holds the data and then signed. | Not supported. |
| A byte array | A new XML document is created from a single dimensional array of bytes and then signed. | The data is loaded from a byte array and then signed. |
| A Data object | A new XML document is created from the data stored in a Data object and then signed. | The data is loaded from the Data object and then signed. |
A custom object that implements the IStream
interface |
A new XML document is created from the data stored in
a custom object
and verified.
Some of the objects that implement the
IStream interface: ASP Request
object, ASP Response object, ADO stream. |
The data is loaded from the Data object and then signed. |
This method can not be called from an untrusted code.
Requires CreaSign Pro or CreaSign Lite.
CreaSignLite Class | CreaSign Namespace
(c) CREA 2002-2007 www.creasign.si