Class COSEKeyTypeParameters
java.lang.Object
com.authlete.cose.constants.COSEKeyTypeParameters
COSE Key Type Parameters
Key Type Name Label CBOR Type Description OKP
crv
-1 int / tstr EC identifier -- Taken from the "COSE Elliptic Curves" registry x
-2 bstr Public key d
-4 bstr Private key EC2
crv
-1 int / tstr EC identifier -- Taken from the "COSE Elliptic Curves" registry x
-2 bstr x-coordinate y
-3 bstr / bool y-coordinate d
-4 bstr Private key RSA
n
-1 bstr The RSA modulus n e
-2 bstr The RSA public exponent e d
-3 bstr The RSA private exponent d p
-4 bstr The prime factor p of n q
-5 bstr The prime factor q of n dP
-6 bstr dP is d mod (p - 1) dQ
-7 bstr dQ is d mod (q - 1) qInv
-8 bstr qInv is the CRT coefficient q^(-1) mod p other
-9 array Other prime infos, an array r_i
-10 bstr A prime factor r_i of n, where i >= 3 d_i
-11 bstr d_i = d mod (r_i - 1) t_i
-12 bstr The CRT coefficient t_i = (r_1 * r_2 * ... * r_(i-1))^(-1) mod r_i Symmetric
k
-1 bstr Key value HSS-LMS
pub
-1 bstr Public key for HSS/LMS hash-based digital signature WalnutDSA
N
-1 unit Group and Matrix (NxN) size q
-2 unit Finite field F_q t-values
-3 array (of unit) List of T-values, entries in F_q matrix 1
-4 array (of array of unit) NxN Matrix of entries in F_q in column-major form permutation 1
-5 array (of unit) Permutation associated with matrix 1 matrix 2
-6 array (of array of unit) NxN Matrix of entries in F_q in column-major form
- Since:
- 1.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
EC2 crv (-1)static final int
EC2 d (-4)static final int
EC2 x (-2)static final int
EC2 y (-3)static final int
HSS-LMS pub (-1)static final int
OKP crv (-1)static final int
OKP d (-4)static final int
OKP x (-2)static final int
RSA d (-3)static final int
RSA d_i (-11)static final int
RSA dP (-6)static final int
RSA dQ (-7)static final int
RSA e (-2)static final int
RSA n (-1)static final int
RSA other (-9)static final int
RSA p (-4)static final int
RSA q (-5)static final int
RSA qInv (-8)static final int
RSA r_i (-10)static final int
RSA t_i (-12)static final int
Symmetric k (-1)static final int
WalnutDSA matrix 1 (-4)static final int
WalnutDSA matrix 2 (-6)static final int
WalnutDSA N (-1)static final int
WalnutDSA permutation 1 (-5)static final int
WalnutDSA q (-2)static final int
WalnutDSA t-values (-3) -
Method Summary
-
Field Details
-
OKP_CRV
public static final int OKP_CRVOKP crv (-1)- See Also:
-
OKP_X
public static final int OKP_XOKP x (-2)- See Also:
-
OKP_D
public static final int OKP_DOKP d (-4)- See Also:
-
EC2_CRV
public static final int EC2_CRVEC2 crv (-1)- See Also:
-
EC2_X
public static final int EC2_XEC2 x (-2)- See Also:
-
EC2_Y
public static final int EC2_YEC2 y (-3)- See Also:
-
EC2_D
public static final int EC2_DEC2 d (-4)- See Also:
-
RSA_N
public static final int RSA_NRSA n (-1)- See Also:
-
RSA_E
public static final int RSA_ERSA e (-2)- See Also:
-
RSA_D
public static final int RSA_DRSA d (-3)- See Also:
-
RSA_P
public static final int RSA_PRSA p (-4)- See Also:
-
RSA_Q
public static final int RSA_QRSA q (-5)- See Also:
-
RSA_DP
public static final int RSA_DPRSA dP (-6)- See Also:
-
RSA_DQ
public static final int RSA_DQRSA dQ (-7)- See Also:
-
RSA_QINV
public static final int RSA_QINVRSA qInv (-8)- See Also:
-
RSA_OTHER
public static final int RSA_OTHERRSA other (-9)- See Also:
-
RSA_R_I
public static final int RSA_R_IRSA r_i (-10)- See Also:
-
RSA_D_I
public static final int RSA_D_IRSA d_i (-11)- See Also:
-
RSA_T_I
public static final int RSA_T_IRSA t_i (-12)- See Also:
-
SYMMETRIC_K
public static final int SYMMETRIC_KSymmetric k (-1)- See Also:
-
HSS_LMS_PUB
public static final int HSS_LMS_PUBHSS-LMS pub (-1)- See Also:
-
WALNUT_DSA_N
public static final int WALNUT_DSA_NWalnutDSA N (-1)- See Also:
-
WALNUT_DSA_Q
public static final int WALNUT_DSA_QWalnutDSA q (-2)- See Also:
-
WALNUT_DSA_T_VALUES
public static final int WALNUT_DSA_T_VALUESWalnutDSA t-values (-3)- See Also:
-
WALNUT_DSA_MATRIX_1
public static final int WALNUT_DSA_MATRIX_1WalnutDSA matrix 1 (-4)- See Also:
-
WALNUT_DSA_PERMUTATION_1
public static final int WALNUT_DSA_PERMUTATION_1WalnutDSA permutation 1 (-5)- See Also:
-
WALNUT_DSA_MATRIX_2
public static final int WALNUT_DSA_MATRIX_2WalnutDSA matrix 2 (-6)- See Also:
-