Package org.webpki.cbor
Interface CBORCryptoConstants
public interface CBORCryptoConstants
Interface holding common crypto constants.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CBORInt
CEF "cipherText" label (10).static final CBORInt
CEF "ephemeralKey" label (7).static final CBORInt
CEF "iv" label (9).static final CBORInt
CEF "keyEncryption" label (2).static final CBORInt
CEF "tag" label (8).static final CBORInt
COSE "crv" identifier (6).static final CBORInt
COSE "crv" identifier (7).static final CBORInt
COSE "crv" identifier (1).static final CBORInt
COSE "crv" identifier (2).static final CBORInt
COSE "crv" identifier (3).static final CBORInt
COSE "crv" identifier (4).static final CBORInt
COSE "crv" identifier (5).static final CBORInt
COSE EC2 "crv" label (-1).static final CBORInt
COSE EC2 "kty" identifier (2).static final CBORInt
COSE EC2 "x" label (-2).static final CBORInt
COSE EC2 "y" label (-3).static final CBORInt
COSE "kid" label (2).static final CBORInt
COSE "kty" label (1).static final CBORInt
COSE OKP "crv" label (-1).static final CBORInt
COSE OKP "kty" identifier (1).static final CBORInt
COSE OKP "x" label (-2).static final CBORInt
COSE RSA exponent label (-2).static final CBORInt
COSE RSA "kty" identifier (3).static final CBORInt
COSE RSA modulus label (-1).static final CBORInt
CSF "signature" label (6).static final CBORInt
CSF/CEF "algorithm" label (1).static final CBORInt
CSF/CEF "certificatePath" label (5).static final CBORInt
CSF/CEF "customData" label (0).static final CBORInt
CSF/CEF "keyId" label (3).static final CBORInt
CSF/CEF "publicKey" label (4).
-
Field Details
-
COSE_KTY_LBL
COSE "kty" label (1). -
COSE_KID_LBL
COSE "kid" label (2). -
COSE_OKP_CRV_LBL
COSE OKP "crv" label (-1). -
COSE_OKP_X_LBL
COSE OKP "x" label (-2). -
COSE_EC2_CRV_LBL
COSE EC2 "crv" label (-1). -
COSE_EC2_X_LBL
COSE EC2 "x" label (-2). -
COSE_EC2_Y_LBL
COSE EC2 "y" label (-3). -
COSE_RSA_N_LBL
COSE RSA modulus label (-1). -
COSE_RSA_E_LBL
COSE RSA exponent label (-2). -
COSE_EC2_KTY_ID
COSE EC2 "kty" identifier (2). -
COSE_OKP_KTY_ID
COSE OKP "kty" identifier (1). -
COSE_RSA_KTY_ID
COSE RSA "kty" identifier (3). -
COSE_CRV_P_256_ID
COSE "crv" identifier (1). -
COSE_CRV_P_384_ID
COSE "crv" identifier (2). -
COSE_CRV_P_521_ID
COSE "crv" identifier (3). -
COSE_CRV_X25519_ID
COSE "crv" identifier (4). -
COSE_CRV_X448_ID
COSE "crv" identifier (5). -
COSE_CRV_ED25519_ID
COSE "crv" identifier (6). -
COSE_CRV_ED448_ID
COSE "crv" identifier (7). -
CXF_CUSTOM_DATA_LBL
CSF/CEF "customData" label (0). Passes through without any interpretation and is protected by being a part of the signed data respectively AAD. -
CXF_ALGORITHM_LBL
CSF/CEF "algorithm" label (1). Note: This label is also used in key encryption sub-maps. -
CEF_KEY_ENCRYPTION_LBL
CEF "keyEncryption" label (2). -
CXF_KEY_ID_LBL
CSF/CEF "keyId" label (3). Note: This label may also be used in key encryption sub-maps. -
CXF_PUBLIC_KEY_LBL
CSF/CEF "publicKey" label (4). -
CXF_CERT_PATH_LBL
CSF/CEF "certificatePath" label (5). -
CSF_SIGNATURE_LBL
CSF "signature" label (6). -
CEF_EPHEMERAL_KEY_LBL
CEF "ephemeralKey" label (7). Note: This label is only used in key encryption sub-maps. -
CEF_TAG_LBL
CEF "tag" label (8). -
CEF_IV_LBL
CEF "iv" label (9). -
CEF_CIPHER_TEXT_LBL
CEF "cipherText" label (10). Note: This label is also used in key encryption sub-maps using key-wrapping.
-