Method ReadSignatureCertificate
ReadSignatureCertificate(out X509Certificate2, Boolean)
Reads the certificate from the signature device.
Declaration
public Error ReadSignatureCertificate(out X509Certificate2 signerCert, bool swSign = true)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 | signerCert | |
System.Boolean | swSign |
Returns
Type | Description |
---|---|
Error |
Implements
Remarks
Some signature device can do cryptographic operations. If so, they may be used to for cryptographic signatures with the pair
SetFinalDocumentHash(Byte[], Boolean)
ReadSignatureSignedDocumentHash(out Byte[])
Certificates can be used for gauging the authenticity of a cryptographic signature.