Class COSEKeyTypeParameters

java.lang.Object
com.authlete.cose.constants.COSEKeyTypeParameters

public final class COSEKeyTypeParameters extends Object
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: