public static enum TLSA.CertUsage extends Enum<TLSA.CertUsage>
| Enum Constant and Description |
|---|
caConstraintThe given CA certificate (or its public key) MUST be found in at least
one PKIX path to the end entity certificate. |
domainIssuedCertificateThe given certificate (or its public key) MUST match the end entity
certificate. |
serviceCertificateConstraintThe given certificate (or its public key) MUST match the end entity
certificate and MUST pass PKIX validation. |
trustAnchorAssertionThe given certificate (or its public key) MUST be used as trust anchor when
validating the end entity certificate. |
| Modifier and Type | Field and Description |
|---|---|
byte | byteValuebyteValue. |
| Modifier and Type | Method and Description |
|---|---|
static TLSA.CertUsage | valueOf(String name)Returns the enum constant of this type with the specified name. |
static TLSA.CertUsage[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final TLSA.CertUsage caConstraint
PKIX-TA(0)
public static final TLSA.CertUsage domainIssuedCertificate
serviceCertificateConstraint, this does not
require PKIX validation.DANE-EE(3)
public static final TLSA.CertUsage serviceCertificateConstraint
domainIssuedCertificate.PKIX-EE(1)
public static final TLSA.CertUsage trustAnchorAssertion
DANE-TA(2)
public static TLSA.CertUsage valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TLSA.CertUsage[] values()
for (TLSA.CertUsage c : TLSA.CertUsage.values()) System.out.println(c);