public enum CertificateType extends Enum<CertificateType>
| Enum Constant and Description |
|---|
OPEN_PGP |
RAW_PUBLIC_KEY |
X_509 |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static CertificateType |
getTypeFromCode(int code) |
boolean |
isSupported() |
static CertificateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateType X_509
public static final CertificateType OPEN_PGP
public static final CertificateType RAW_PUBLIC_KEY
public static CertificateType[] values()
for (CertificateType c : CertificateType.values()) System.out.println(c);
public static CertificateType 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 CertificateType getTypeFromCode(int code)
public final int getCode()
public final boolean isSupported()
Copyright © 2023 Eclipse Foundation. All rights reserved.