Enum DaneVerificationResult
- All Implemented Interfaces:
Serializable, Comparable<DaneVerificationResult>
The result of a DANE verification performed by
DaneVerifier.
Note that a TLSA record set which contains usable records, none of which matches the certificate, does not result
in a DaneVerificationResult, but in a DaneCertificateException being thrown.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA TLSA record with the certificate usage PKIX-EE (1) matched the certificate.The TLSA response was not DNSSEC authenticated.The TLSA response was DNSSEC authenticated, but contained no usable TLSA records, that is, it either contained no TLSA records at all or only TLSA records with unsupported parameters.A TLSA record with the certificate usage DANE-EE (3) matched the certificate. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if a TLSA record matched the certificate.booleanCheck if the DANE verification alone is sufficient to verify the certificate.static DaneVerificationResultReturns the enum constant of this type with the specified name.static DaneVerificationResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
notAuthenticated
The TLSA response was not DNSSEC authenticated. DANE does not apply and PKIX validation is required. -
noUsableTlsaRecords
The TLSA response was DNSSEC authenticated, but contained no usable TLSA records, that is, it either contained no TLSA records at all or only TLSA records with unsupported parameters. DANE does not apply and PKIX validation is required. -
matchedPkixRequired
A TLSA record with the certificate usage PKIX-EE (1) matched the certificate. The DANE verification was successful, but PKIX validation is still required. -
verified
A TLSA record with the certificate usage DANE-EE (3) matched the certificate. The certificate is verified and no further validation is required.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isFullyVerified
Check if the DANE verification alone is sufficient to verify the certificate.- Returns:
trueif no further PKIX validation is required.
-
isDaneMatch
Check if a TLSA record matched the certificate.- Returns:
trueif a TLSA record matched the certificate.
-