Class DetachedResourceXmlSigner
Provides methods for creating a XML signature of a detached resource
Inheritance
DetachedResourceXmlSigner
Assembly: Lacuna.Pki.dll
Syntax
public class DetachedResourceXmlSigner : XmlSigner
Constructors
DetachedResourceXmlSigner()
Declaration
public DetachedResourceXmlSigner()
Methods
AddReferences(SignedXml, DigestAlgorithm, XmlPolicySpec)
Declaration
protected override void AddReferences(SignedXml signedXml, DigestAlgorithm digestAlgorithm, XmlPolicySpec policy)
Parameters
Overrides
GetToSignEntityTransferData()
Declaration
protected override byte[] GetToSignEntityTransferData()
Returns
Overrides
SetToSignDetachedResource(Byte[], String)
Sets the detached resource to be signed
Declaration
public void SetToSignDetachedResource(byte[] content, string uri)
Parameters
SetToSignEntityTransferData(Byte[])
Declaration
protected override void SetToSignEntityTransferData(byte[] transferData)
Parameters
Type |
Name |
Description |
Byte[] |
transferData |
|
Overrides
VerifyParameters(Boolean)
Declaration
protected override void VerifyParameters(bool computeSignature)
Parameters
Type |
Name |
Description |
Boolean |
computeSignature |
|
Overrides