Enum PkiFormat
- java.lang.Object
-
- java.lang.Enum<PkiFormat>
-
- io.helidon.integrations.vault.secrets.pki.PkiFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<PkiFormat>
public enum PkiFormat extends Enum<PkiFormat>
Format of certificate or CRL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DER
DER binary encoded.PEM
PEM encoded.PEM_BUNDLE
PEM with private key (forPkiSecretsRx.issueCertificate(IssueCertificate.Request)
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PkiFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static PkiFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PEM
public static final PkiFormat PEM
PEM encoded.
-
DER
public static final PkiFormat DER
DER binary encoded.
-
PEM_BUNDLE
public static final PkiFormat PEM_BUNDLE
PEM with private key (forPkiSecretsRx.issueCertificate(IssueCertificate.Request)
. When used, the certificate response is bundled with private key.
-
-
Method Detail
-
values
public static PkiFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PkiFormat c : PkiFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PkiFormat valueOf(String name)
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
-
-