Package io.quarkus.vault.pki
Enum CertificateKeyUsage
- java.lang.Object
-
- java.lang.Enum<CertificateKeyUsage>
-
- io.quarkus.vault.pki.CertificateKeyUsage
-
- All Implemented Interfaces:
Serializable,Comparable<CertificateKeyUsage>
public enum CertificateKeyUsage extends Enum<CertificateKeyUsage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CertSignContentCommitmentCRLSignDataEnciphermentDecipherOnlyDigitalSignatureEncipherOnlyKeyAgreementKeyEncipherment
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CertificateKeyUsagevalueOf(String name)Returns the enum constant of this type with the specified name.static CertificateKeyUsage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DigitalSignature
public static final CertificateKeyUsage DigitalSignature
-
ContentCommitment
public static final CertificateKeyUsage ContentCommitment
-
KeyEncipherment
public static final CertificateKeyUsage KeyEncipherment
-
DataEncipherment
public static final CertificateKeyUsage DataEncipherment
-
KeyAgreement
public static final CertificateKeyUsage KeyAgreement
-
CertSign
public static final CertificateKeyUsage CertSign
-
CRLSign
public static final CertificateKeyUsage CRLSign
-
EncipherOnly
public static final CertificateKeyUsage EncipherOnly
-
DecipherOnly
public static final CertificateKeyUsage DecipherOnly
-
-
Method Detail
-
values
public static CertificateKeyUsage[] 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 (CertificateKeyUsage c : CertificateKeyUsage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertificateKeyUsage 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
-
-