public class CertificateVerifyOptions extends VerifyOptions
Keeps options to verify certificate documents.
<b>Learn more</b>
| Constructor and Description |
|---|
CertificateVerifyOptions()
Initializes a new instance of the TextVerifyOptions with default values.
|
CertificateVerifyOptions(String subject)
Initializes a new instance of the CertificateVerifyOptions with subject to verify.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getExpired()
Indicates if certificate is expired date due validation result.
|
String |
getIssuer()
Specify Certificate Issuer if it should be verified.
|
int |
getMatchType()
Gets or sets Text Match Type verification.
|
boolean |
getPerformChainValidation()
Get or set if verification process should provide X.509 chain validation using basic validation policy.
|
String |
getSerialNumber()
Specify Certificate Serial Number if it should be verified.
|
String |
getSubject()
Specify Certificate subject if it should be verified.
|
String |
getThumbprint()
Specify Certificate Thumbprint if it should be verified.
|
void |
setExpired(boolean value)
Indicates if certificate is expired date due validation result.
|
void |
setIssuer(String value)
Specify Certificate Issuer if it should be verified.
|
void |
setMatchType(int value)
Gets or sets Text Match Type verification.
|
void |
setPerformChainValidation(boolean value)
Get or set if verification process should provide X.509 chain validation using basic validation policy.
|
void |
setSerialNumber(String value)
Specify Certificate Serial Number if it should be verified.
|
void |
setSubject(String value)
Specify Certificate subject if it should be verified.
|
void |
setThumbprint(String value)
Specify Certificate Thumbprint if it should be verified.
|
String |
toString()
Overrides conversion to string.
|
getAllPages, getExtensions, getPageNumber, getPagesSetup, isValid, setAllPages, setExtensions, setPageNumber, setPagesSetup, setValidpublic CertificateVerifyOptions()
Initializes a new instance of the TextVerifyOptions with default values.
public CertificateVerifyOptions(String subject)
Initializes a new instance of the CertificateVerifyOptions with subject to verify.
subject - Subject to be verifiedpublic final boolean getExpired()
Indicates if certificate is expired date due validation result. Property is read-only.
public final String getIssuer()
Specify Certificate Issuer if it should be verified.
public final int getMatchType()
Gets or sets Text Match Type verification.
public final boolean getPerformChainValidation()
Get or set if verification process should provide X.509 chain validation using basic validation policy. By default this value is true.
public final String getSerialNumber()
Specify Certificate Serial Number if it should be verified.
public final String getSubject()
Specify Certificate subject if it should be verified.
public final String getThumbprint()
Specify Certificate Thumbprint if it should be verified.
public final void setExpired(boolean value)
Indicates if certificate is expired date due validation result. Property is read-only.
public final void setIssuer(String value)
Specify Certificate Issuer if it should be verified.
public final void setMatchType(int value)
Gets or sets Text Match Type verification.
public final void setPerformChainValidation(boolean value)
Get or set if verification process should provide X.509 chain validation using basic validation policy. By default this value is true.
public final void setSerialNumber(String value)
Specify Certificate Serial Number if it should be verified.
public final void setSubject(String value)
Specify Certificate subject if it should be verified.
public final void setThumbprint(String value)
Specify Certificate Thumbprint if it should be verified.
public String toString()
Overrides conversion to string.
toString in class VerifyOptionsCopyright © 2026. All rights reserved.