public enum CertPolicyUse extends Enum<CertPolicyUse>
| Enum Constant and Description |
|---|
PRIVATE_RESOLVER
Used when accessing certificate via a private resolver.
|
PUBLIC_RESOLVER
Used when accessing certificate via a public resolver.
|
TRUST
Used when validating certificate path trust chaining
|
VALIDATION
Used when performing basic policy validation outside the context of the security and trust agent.
|
| Modifier and Type | Method and Description |
|---|---|
static CertPolicyUse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertPolicyUse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertPolicyUse TRUST
public static final CertPolicyUse PRIVATE_RESOLVER
public static final CertPolicyUse PUBLIC_RESOLVER
public static final CertPolicyUse VALIDATION
public static CertPolicyUse[] values()
for (CertPolicyUse c : CertPolicyUse.values()) System.out.println(c);
public static CertPolicyUse 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 nullCopyright © 2021. All rights reserved.