Package COSE
Enum KeyKeys
- java.lang.Object
-
- java.lang.Enum<KeyKeys>
-
- COSE.KeyKeys
-
- All Implemented Interfaces:
Serializable,Comparable<KeyKeys>,java.lang.constant.Constable
public enum KeyKeys extends Enum<KeyKeys>
- Author:
- jimsch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Field Summary
Fields Modifier and Type Field Description static com.upokecenter.cbor.CBORObjectEC2_P256static com.upokecenter.cbor.CBORObjectEC2_P384static com.upokecenter.cbor.CBORObjectEC2_P521static com.upokecenter.cbor.CBORObjectKeyType_EC2static com.upokecenter.cbor.CBORObjectKeyType_Octetstatic com.upokecenter.cbor.CBORObjectKeyType_OKPstatic com.upokecenter.cbor.CBORObjectKeyType_RSAstatic com.upokecenter.cbor.CBORObjectOKP_Ed25519static com.upokecenter.cbor.CBORObjectOKP_Ed448static com.upokecenter.cbor.CBORObjectOKP_X25519static com.upokecenter.cbor.CBORObjectOKP_X448
-
-
-
Enum Constant Detail
-
KeyType
public static final KeyKeys KeyType
-
Algorithm
public static final KeyKeys Algorithm
-
KeyId
public static final KeyKeys KeyId
-
Key_Ops
public static final KeyKeys Key_Ops
-
Base_IV
public static final KeyKeys Base_IV
-
Octet_K
public static final KeyKeys Octet_K
-
EC2_Curve
public static final KeyKeys EC2_Curve
-
EC2_X
public static final KeyKeys EC2_X
-
EC2_Y
public static final KeyKeys EC2_Y
-
EC2_D
public static final KeyKeys EC2_D
-
OKP_Curve
public static final KeyKeys OKP_Curve
-
OKP_X
public static final KeyKeys OKP_X
-
OKP_D
public static final KeyKeys OKP_D
-
RSA_N
public static final KeyKeys RSA_N
-
RSA_E
public static final KeyKeys RSA_E
-
RSA_D
public static final KeyKeys RSA_D
-
RSA_P
public static final KeyKeys RSA_P
-
RSA_Q
public static final KeyKeys RSA_Q
-
RSA_DP
public static final KeyKeys RSA_DP
-
RSA_DQ
public static final KeyKeys RSA_DQ
-
RSA_QI
public static final KeyKeys RSA_QI
-
RSA_OTHER
public static final KeyKeys RSA_OTHER
-
RSA__R_I
public static final KeyKeys RSA__R_I
-
RSA__D_I
public static final KeyKeys RSA__D_I
-
RSA__T_I
public static final KeyKeys RSA__T_I
-
-
Field Detail
-
KeyType_OKP
public static final com.upokecenter.cbor.CBORObject KeyType_OKP
-
KeyType_EC2
public static final com.upokecenter.cbor.CBORObject KeyType_EC2
-
KeyType_Octet
public static final com.upokecenter.cbor.CBORObject KeyType_Octet
-
KeyType_RSA
public static final com.upokecenter.cbor.CBORObject KeyType_RSA
-
EC2_P256
public static final com.upokecenter.cbor.CBORObject EC2_P256
-
EC2_P384
public static final com.upokecenter.cbor.CBORObject EC2_P384
-
EC2_P521
public static final com.upokecenter.cbor.CBORObject EC2_P521
-
OKP_X25519
public static final com.upokecenter.cbor.CBORObject OKP_X25519
-
OKP_X448
public static final com.upokecenter.cbor.CBORObject OKP_X448
-
OKP_Ed25519
public static final com.upokecenter.cbor.CBORObject OKP_Ed25519
-
OKP_Ed448
public static final com.upokecenter.cbor.CBORObject OKP_Ed448
-
-
Method Detail
-
values
public static KeyKeys[] 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
public static KeyKeys 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
-
AsCBOR
public com.upokecenter.cbor.CBORObject AsCBOR()
-
-