Interface CBORCryptoConstants


public interface CBORCryptoConstants
Interface holding common crypto constants.
  • Field Details

    • COSE_KTY_LBL

      static final CBORInt COSE_KTY_LBL
      COSE "kty" label (1).
    • COSE_KID_LBL

      static final CBORInt COSE_KID_LBL
      COSE "kid" label (2).
    • COSE_OKP_CRV_LBL

      static final CBORInt COSE_OKP_CRV_LBL
      COSE OKP "crv" label (-1).
    • COSE_OKP_X_LBL

      static final CBORInt COSE_OKP_X_LBL
      COSE OKP "x" label (-2).
    • COSE_EC2_CRV_LBL

      static final CBORInt COSE_EC2_CRV_LBL
      COSE EC2 "crv" label (-1).
    • COSE_EC2_X_LBL

      static final CBORInt COSE_EC2_X_LBL
      COSE EC2 "x" label (-2).
    • COSE_EC2_Y_LBL

      static final CBORInt COSE_EC2_Y_LBL
      COSE EC2 "y" label (-3).
    • COSE_RSA_N_LBL

      static final CBORInt COSE_RSA_N_LBL
      COSE RSA modulus label (-1).
    • COSE_RSA_E_LBL

      static final CBORInt COSE_RSA_E_LBL
      COSE RSA exponent label (-2).
    • COSE_EC2_KTY_ID

      static final CBORInt COSE_EC2_KTY_ID
      COSE EC2 "kty" identifier (2).
    • COSE_OKP_KTY_ID

      static final CBORInt COSE_OKP_KTY_ID
      COSE OKP "kty" identifier (1).
    • COSE_RSA_KTY_ID

      static final CBORInt COSE_RSA_KTY_ID
      COSE RSA "kty" identifier (3).
    • COSE_CRV_P_256_ID

      static final CBORInt COSE_CRV_P_256_ID
      COSE "crv" identifier (1).
    • COSE_CRV_P_384_ID

      static final CBORInt COSE_CRV_P_384_ID
      COSE "crv" identifier (2).
    • COSE_CRV_P_521_ID

      static final CBORInt COSE_CRV_P_521_ID
      COSE "crv" identifier (3).
    • COSE_CRV_X25519_ID

      static final CBORInt COSE_CRV_X25519_ID
      COSE "crv" identifier (4).
    • COSE_CRV_X448_ID

      static final CBORInt COSE_CRV_X448_ID
      COSE "crv" identifier (5).
    • COSE_CRV_ED25519_ID

      static final CBORInt COSE_CRV_ED25519_ID
      COSE "crv" identifier (6).
    • COSE_CRV_ED448_ID

      static final CBORInt COSE_CRV_ED448_ID
      COSE "crv" identifier (7).
    • CXF_CUSTOM_DATA_LBL

      static final CBORInt 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

      static final CBORInt CXF_ALGORITHM_LBL
      CSF/CEF "algorithm" label (1). Note: This label is also used in key encryption sub-maps.
    • CEF_KEY_ENCRYPTION_LBL

      static final CBORInt CEF_KEY_ENCRYPTION_LBL
      CEF "keyEncryption" label (2).
    • CXF_KEY_ID_LBL

      static final CBORInt 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

      static final CBORInt CXF_PUBLIC_KEY_LBL
      CSF/CEF "publicKey" label (4).
    • CXF_CERT_PATH_LBL

      static final CBORInt CXF_CERT_PATH_LBL
      CSF/CEF "certificatePath" label (5).
    • CSF_SIGNATURE_LBL

      static final CBORInt CSF_SIGNATURE_LBL
      CSF "signature" label (6).
    • CEF_EPHEMERAL_KEY_LBL

      static final CBORInt CEF_EPHEMERAL_KEY_LBL
      CEF "ephemeralKey" label (7). Note: This label is only used in key encryption sub-maps.
    • CEF_TAG_LBL

      static final CBORInt CEF_TAG_LBL
      CEF "tag" label (8).
    • CEF_IV_LBL

      static final CBORInt CEF_IV_LBL
      CEF "iv" label (9).
    • CEF_CIPHER_TEXT_LBL

      static final CBORInt CEF_CIPHER_TEXT_LBL
      CEF "cipherText" label (10). Note: This label is also used in key encryption sub-maps using key-wrapping.