Class KeyOperations

java.lang.Object
org.jose4j.jwk.KeyOperations

public class KeyOperations extends Object
"key_ops" (Key Operations) Parameter values as defined at https://tools.ietf.org/html/rfc7517#section-4.3
  • Field Details

    • SIGN

      public static String SIGN
      compute digital signature or MAC
    • VERIFY

      public static String VERIFY
      verify digital signature or MAC
    • ENCRYPT

      public static String ENCRYPT
      encrypt content
    • DECRYPT

      public static String DECRYPT
      decrypt content and validate decryption, if applicable
    • WRAP_KEY

      public static String WRAP_KEY
      encrypt key
    • UNWRAP_KEY

      public static String UNWRAP_KEY
      decrypt key and validate decryption, if applicable
    • DERIVE_KEY

      public static String DERIVE_KEY
      derive key
    • DERIVE_BITS

      public static String DERIVE_BITS
      derive bits not to be used as a key
  • Constructor Details

    • KeyOperations

      public KeyOperations()