DigitalVerifyOptions

DigitalVerifyOptions class

Keeps options to verify document Digital signature.

public class DigitalVerifyOptions : VerifyOptions

Constructors

Name Description
DigitalVerifyOptions() Creates Digital Verification Option with default values.
DigitalVerifyOptions(Stream) Creates Digital Verification Option with given certificate stream.
DigitalVerifyOptions(string) Creates Digital Verification Option with given digital certificate file path.

Properties

Name Description
AllPages { get; set; } Flag to verify each document page. By default value is true.
Certificate { get; } Get X509Certificate2 Certificate from Certificate FilePath or Stream.
CertificateFilePath { get; set; } File path of Digital Certificate.
CertificateStream { get; set; } Stream of Digital Certificate.
Comments { get; set; } Comments of Digital Signature to validate.
Contact { get; set; } Signature Contact to validate.
Extensions { get; set; } Additional extensions for alternative signature options verification.
IssuerName { get; set; } Issuer name of the certificate to validate. Value is case sensitive. If this property is set verification will check if Signature’s issuer name contains or equals passed value
IsValid { get; } Valid property flag.
Location { get; set; } Signature Location to validate.
virtual PageNumber { get; set; } Document Page Number to be verified. If property is not set - all Pages of Document will be verified for first occurrence. Minimal value is 1.
virtual PagesSetup { get; set; } Page Options to specify pages to be verified.
Password { get; set; } Password of Digital Certificate if required.
Reason { get; set; } Reason of Digital Signature to validate.
ShapePosition { get; set; } Specifies shape position in the document layout. For verifing signatures in headers/footers
SignDateTimeFrom { get; set; } Date and time range of Digital Signature to validate. Nullable value will be ignored.
SignDateTimeTo { get; set; } Date and time range of Digital Signature to validate. Nullable value will be ignored.
SubjectName { get; set; } Subject distinguished name of the certificate to validate. Value is case sensitive. If this property is set verification will check if Signature subject name contains or equals passed value

Remarks

Learn more

See Also