CertificateVerifyOptions
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.signature.options.verify.VerifyOptions
public class CertificateVerifyOptions extends VerifyOptions
Keeps options to verify certificate documents.
Learn more
| Constructor | 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. |
| Method | Description |
|---|---|
| getIssuer() | Specify Certificate Issuer if it should be verified. |
| setIssuer(String value) | Specify Certificate Issuer if it should be verified. |
| getSerialNumber() | Specify Certificate Serial Number if it should be verified. |
| setSerialNumber(String value) | Specify Certificate Serial Number if it should be verified. |
| getSubject() | Specify Certificate subject if it should be verified. |
| setSubject(String value) | Specify Certificate subject if it should be verified. |
| getThumbprint() | Specify Certificate Thumbprint if it should be verified. |
| setThumbprint(String value) | Specify Certificate Thumbprint if it should be verified. |
| getMatchType() | Gets or sets Text Match Type verification. |
| setMatchType(int value) | Gets or sets Text Match Type verification. |
| getExpired() | Indicates if certificate is expired date due validation result. |
| setExpired(boolean value) | Indicates if certificate is expired date due validation result. |
| getPerformChainValidation() | Get or set if verification process should provide X.509 chain validation using basic validation policy. |
| setPerformChainValidation(boolean value) | Get or set if verification process should provide X.509 chain validation using basic validation policy. |
| toString() | Overrides conversion to string. |
public 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.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| subject | java.lang.String | Subject to be verified |
public final String getIssuer()
Specify Certificate Issuer if it should be verified.
Returns: java.lang.String
public final void setIssuer(String value)
Specify Certificate Issuer if it should be verified.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getSerialNumber()
Specify Certificate Serial Number if it should be verified.
Returns: java.lang.String
public final void setSerialNumber(String value)
Specify Certificate Serial Number if it should be verified.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getSubject()
Specify Certificate subject if it should be verified.
Returns: java.lang.String
public final void setSubject(String value)
Specify Certificate subject if it should be verified.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getThumbprint()
Specify Certificate Thumbprint if it should be verified.
Returns: java.lang.String
public final void setThumbprint(String value)
Specify Certificate Thumbprint if it should be verified.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final int getMatchType()
Gets or sets Text Match Type verification.
Returns: int
public final void setMatchType(int value)
Gets or sets Text Match Type verification.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final boolean getExpired()
Indicates if certificate is expired date due validation result. Property is read-only.
Returns: boolean
public final void setExpired(boolean value)
Indicates if certificate is expired date due validation result. Property is read-only.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
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.
Returns: boolean
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.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public String toString()
Overrides conversion to string.
Returns: java.lang.String -
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.