Enum PEMKey.PEMKeyType
- All Implemented Interfaces:
Serializable, Comparable<PEMKey.PEMKeyType>, java.lang.constant.Constable
- Enclosing class:
PEMKey
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRFC 3279 Section 2.3.2RFC 5915 Section 3RFC 5208 Section 5RFC 5208 Section 6RFC 8017 Appendix 1.2 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Stringstatic PEMKey.PEMKeyTypeReturns the enum constant of this type with the specified name.static PEMKey.PEMKeyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DSA
RFC 3279 Section 2.3.2 -
EC
RFC 5915 Section 3 -
RSA
RFC 8017 Appendix 1.2 -
PKCS8
RFC 5208 Section 5 -
PKCS8_ENCRYPTED
RFC 5208 Section 6
-
-
Field Details
-
header
-
-
Constructor Details
-
PEMKeyType
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getHeader
String getHeader()
-