Package org.webpki.cbor
Interface CBORCryptoConstants
public interface CBORCryptoConstants
Interface holding common crypto constants.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CBORInt
CSF/CEF "algorithm" label (1).static final CBORInt
CSF/CEF "certificatePath" label (5).static final CBORInt
CEF "cipherText" label (10).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 "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/CEF "customData" label (0).static final CBORInt
CEF "ephemeralKey" label (7).static final CBORInt
CEF "iv" label (9).static final CBORInt
CEF "keyEncryption" label (2).static final CBORInt
CSF/CEF "keyId" label (3).static final CBORInt
CSF/CEF "publicKey" label (4).static final CBORInt
CSF "signature" label (6).static final CBORInt
CEF "tag" label (8).
-
Field Details
-
COSE_KTY_LABEL
COSE "kty" label (1). -
COSE_OKP_KTY
COSE OKP "kty" identifier (1). -
COSE_OKP_CRV_LABEL
COSE OKP "crv" label (-1). -
COSE_OKP_X_LABEL
COSE OKP "x" label (-2). -
COSE_EC2_KTY
COSE EC2 "kty" identifier (2). -
COSE_EC2_CRV_LABEL
COSE EC2 "crv" label (-1). -
COSE_EC2_X_LABEL
COSE EC2 "x" label (-2). -
COSE_EC2_Y_LABEL
COSE EC2 "y" label (-3). -
COSE_RSA_KTY
COSE RSA "kty" identifier (3). -
COSE_RSA_N_LABEL
COSE RSA modulus label (-1). -
COSE_RSA_E_LABEL
COSE RSA exponent label (-2). -
COSE_CRV_P_256
COSE "crv" identifier (1). -
COSE_CRV_P_384
COSE "crv" identifier (2). -
COSE_CRV_P_521
COSE "crv" identifier (3). -
COSE_CRV_X25519
COSE "crv" identifier (4). -
COSE_CRV_X448
COSE "crv" identifier (5). -
COSE_CRV_ED25519
COSE "crv" identifier (6). -
COSE_CRV_ED448
COSE "crv" identifier (7). -
CUSTOM_DATA_LABEL
CSF/CEF "customData" label (0). Passes through without any interpretation and is protected by being a part of the signed data respectively AAD. -
ALGORITHM_LABEL
CSF/CEF "algorithm" label (1). Note: This label is also used in key encryption sub-maps. -
KEY_ENCRYPTION_LABEL
CEF "keyEncryption" label (2). -
KEY_ID_LABEL
CSF/CEF "keyId" label (3). Note: This label may also be used in key encryption sub-maps. -
PUBLIC_KEY_LABEL
CSF/CEF "publicKey" label (4). -
CERT_PATH_LABEL
CSF/CEF "certificatePath" label (5). -
SIGNATURE_LABEL
CSF "signature" label (6). -
EPHEMERAL_KEY_LABEL
CEF "ephemeralKey" label (7). Note: This label is only used in key encryption sub-maps. -
TAG_LABEL
CEF "tag" label (8). -
IV_LABEL
CEF "iv" label (9). -
CIPHER_TEXT_LABEL
CEF "cipherText" label (10). Note: This label is also used in key encryption sub-maps using key-wrapping.
-