public final class ValidationResult extends Object
Represents the result of a validation process for a certificate.
The ValidationResult class provides information about the outcome of validating a certificate, including its status and a message describing any issues encountered during the validation.
| Constructor and Description |
|---|
ValidationResult()
Creates an instance of
ValidationResult class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Represents the message associated with the validation result.
|
int |
getStatus()
Gets the status of the validation process for a certificate.
|
void |
setMessage(String value)
Represents the message associated with the validation result.
|
void |
setStatus(int value)
Gets the status of the validation process for a certificate.
|
public ValidationResult()
Creates an instance of ValidationResult class.
public final int getStatus()
Gets the status of the validation process for a certificate.
The Status property indicates the outcome of the certificate validation.
Possible values are defined in the ValidationStatus enumeration,
such as Valid, Invalid, or Undefined. It provides an insight into whether
the certificate passed the validation checks or not.
public final void setStatus(int value)
Gets the status of the validation process for a certificate.
The Status property indicates the outcome of the certificate validation.
Possible values are defined in the ValidationStatus enumeration,
such as Valid, Invalid, or Undefined. It provides an insight into whether
the certificate passed the validation checks or not.
value - ValidationStatus elementpublic final String getMessage()
Represents the message associated with the validation result.
The Message property provides additional context or information about the state of the validation result.
public final void setMessage(String value)
Represents the message associated with the validation result.
The Message property provides additional context or information about the state of the validation result.
value - String valueCopyright © 2026 Aspose. All Rights Reserved.