public enum CertificateStatus extends Enum<CertificateStatus>
Modifier and Type | Method and Description |
---|---|
CertificateStatus |
valueFrom(boolean isRevoked) |
static CertificateStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateStatus VALID
public static final CertificateStatus REVOKED
public static CertificateStatus[] values()
for (CertificateStatus c : CertificateStatus.values()) System.out.println(c);
public static CertificateStatus 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 CertificateStatus valueFrom(boolean isRevoked)
Copyright © 2018 Vitam. All rights reserved.