Class JWK


  • public class JWK
    extends Object
    JSON Web Key.
    • Field Detail

      • key

        private String key
        Required. Key type. Must be oct.
      • keyOpts

        private List<String> keyOpts
        Required. Key operations. Must at least contain encrypt and decrypt.
      • alg

        private String alg
        Required. Algorithm. Must be A256CTR.
      • encodedKey

        private String encodedKey
        Required. The key, encoded as urlsafe unpadded base64.
      • ext

        private Boolean ext
        Required. Extractable. Must be true. This is a W3C extension.
    • Constructor Detail

      • JWK

        public JWK()
    • Method Detail

      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • setKeyOpts

        public void setKeyOpts​(List<String> keyOpts)
      • getAlg

        public String getAlg()
      • setAlg

        public void setAlg​(String alg)
      • getEncodedKey

        public String getEncodedKey()
      • setEncodedKey

        public void setEncodedKey​(String encodedKey)
      • setExt

        public void setExt​(Boolean ext)