CertificateVerifyOptions
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. |
Methods
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. |
CertificateVerifyOptions()
public CertificateVerifyOptions()
Initializes a new instance of the TextVerifyOptions with default values.
CertificateVerifyOptions(String subject)
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 |
getIssuer()
public final String getIssuer()
Specify Certificate Issuer if it should be verified.
Returns: java.lang.String
setIssuer(String value)
public final void setIssuer(String value)
Specify Certificate Issuer if it should be verified.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getSerialNumber()
public final String getSerialNumber()
Specify Certificate Serial Number if it should be verified.
Returns: java.lang.String
setSerialNumber(String value)
public final void setSerialNumber(String value)
Specify Certificate Serial Number if it should be verified.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getSubject()
public final String getSubject()
Specify Certificate subject if it should be verified.
Returns: java.lang.String
setSubject(String value)
public final void setSubject(String value)
Specify Certificate subject if it should be verified.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getThumbprint()
public final String getThumbprint()
Specify Certificate Thumbprint if it should be verified.
Returns: java.lang.String
setThumbprint(String value)
public final void setThumbprint(String value)
Specify Certificate Thumbprint if it should be verified.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getMatchType()
public final int getMatchType()
Gets or sets Text Match Type verification.
Returns: int
setMatchType(int value)
public final void setMatchType(int value)
Gets or sets Text Match Type verification.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getExpired()
public final boolean getExpired()
Indicates if certificate is expired date due validation result. Property is read-only.
Returns: boolean
setExpired(boolean value)
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 |
getPerformChainValidation()
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
setPerformChainValidation(boolean value)
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 |
toString()
public String toString()
Overrides conversion to string.
Returns: java.lang.String -