Enum DigitalSignatureValidationResult.ValidationProblem
-
- All Implemented Interfaces:
public enum DigitalSignatureValidationResult.ValidationProblem
Problems that prevented proper validation of a signature.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY_TRUSTED_KEYSTORE
Could not verify the certificate chain, due to an empty trusted keystore.
CERTIFICATE_CHAIN_FAILURE
The certificate chain produced an error.
DOCUMENT_INTEGRITY_FAILURE
Document integrity validation failed;
SELF_SIGNED
Signature is self signed.
COULD_NOT_CHECK_REVOCATION_STATUS
The certificate OCSP revocation check failed (likely due to a network error).
-
Method Summary
Modifier and Type Method Description String
getLocalizedDescription(@NonNull() Context context)
static Array<DigitalSignatureValidationResult.ValidationProblem>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static DigitalSignatureValidationResult.ValidationProblem
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getLocalizedDescription
@NonNull() String getLocalizedDescription(@NonNull() Context context)
-
values
static Array<DigitalSignatureValidationResult.ValidationProblem> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static DigitalSignatureValidationResult.ValidationProblem valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-