Method ReadSignatureCertificate
ReadSignatureCertificate(out X509Certificate2, Boolean)
Reads the certificate from the signature device.
Declaration
Error ReadSignatureCertificate(out X509Certificate2 certificate, bool swSign = true)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 | certificate | The certificate. Null in case of error. |
System.Boolean | swSign |
Returns
Type | Description |
---|---|
Error |
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.