Class JWK
- java.lang.Object
-
- io.github.ma1uta.matrix.event.nested.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.
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getAlg
public String getAlg()
-
setAlg
public void setAlg(String alg)
-
getEncodedKey
public String getEncodedKey()
-
setEncodedKey
public void setEncodedKey(String encodedKey)
-
getExt
public Boolean getExt()
-
setExt
public void setExt(Boolean ext)
-
-