public abstract class VerifyDigitalOptions extends VerifyOptions
Verify Digital Options - keeps options to verify Digital Signature of Document.
Constructor and Description |
---|
VerifyDigitalOptions(InputStream certificateStream)
Creates Digital Verification Option with given certificate stream.
|
VerifyDigitalOptions(String certificateGuid)
Creates Digital Verification Option with given digital certificate guid.
|
Modifier and Type | Method and Description |
---|---|
KeyStore |
getCertificate()
Get X509Certificate2 Certificate from Certificate Guid or Stream.
|
String |
getCertificateGuid()
File Guid of Digital Certificate.
|
InputStream |
getCertificateStream()
Stream of Digital Certificate.
|
String |
getPassword()
Password of Digital Certificate if required.
|
protected com.aspose.ms.System.Collections.Generic.List<Integer> |
getVerifyPages(int totalPages)
Virtual method to get list of pages to verify.
|
void |
setCertificateGuid(String value)
File Guid of Digital Certificate.
|
void |
setCertificateStream(InputStream value)
Stream of Digital Certificate.
|
void |
setPassword(String value)
Password of Digital Certificate if required.
|
getDocumentPageNumber, getExtensions, getPagesSetup, isValid, setDocumentPageNumber, setExtensions, setPagesSetup, setValid, toString
public VerifyDigitalOptions(InputStream certificateStream)
Creates Digital Verification Option with given certificate stream.
certificateStream
- Certificate's stream.public VerifyDigitalOptions(String certificateGuid)
Creates Digital Verification Option with given digital certificate guid.
certificateGuid
- File path to digital certificate.public KeyStore getCertificate()
Get X509Certificate2 Certificate from Certificate Guid or Stream.
public String getCertificateGuid()
File Guid of Digital Certificate.
public InputStream getCertificateStream()
Stream of Digital Certificate.
public String getPassword()
Password of Digital Certificate if required.
protected com.aspose.ms.System.Collections.Generic.List<Integer> getVerifyPages(int totalPages)
VerifyOptions
Virtual method to get list of pages to verify.
getVerifyPages
in class VerifyOptions
public void setCertificateGuid(String value)
File Guid of Digital Certificate.
public void setCertificateStream(InputStream value)
Stream of Digital Certificate.
public void setPassword(String value)
Password of Digital Certificate if required.
Copyright © 2018. All rights reserved.