static JsonWebKey |
JsonWebKey.fromAes(SecretKey secretKey) |
Converts AES key to JSON web key.
|
static JsonWebKey |
JsonWebKey.fromEC(KeyPair keyPair,
Provider provider) |
Converts EC key pair to JSON web key.
|
static JsonWebKey |
JsonWebKey.fromRSA(KeyPair keyPair) |
Converts RSA key pair to JSON web key.
|
JsonWebKey |
JsonWebKey.withCrv(JsonWebKeyCurveName crv) |
Set the crv value.
|
JsonWebKey |
JsonWebKey.withD(byte[] d) |
Set the d value.
|
JsonWebKey |
JsonWebKey.withDp(byte[] dp) |
Set RSA Private Key Parameter value.
|
JsonWebKey |
JsonWebKey.withDq(byte[] dq) |
Set RSA Private Key Parameter value .
|
JsonWebKey |
JsonWebKey.withE(byte[] e) |
Set the e value.
|
JsonWebKey |
JsonWebKey.withK(byte[] k) |
Set the Symmetric key value.
|
JsonWebKey |
JsonWebKey.withKeyOps(List<JsonWebKeyOperation> keyOps) |
Set the keyOps value.
|
JsonWebKey |
JsonWebKey.withKid(String kid) |
Set the key identifier value.
|
JsonWebKey |
JsonWebKey.withKty(JsonWebKeyType kty) |
Set the key type value.
|
JsonWebKey |
JsonWebKey.withN(byte[] n) |
Set the n value.
|
JsonWebKey |
JsonWebKey.withP(byte[] p) |
Set the RSA secret prime value.
|
JsonWebKey |
JsonWebKey.withQ(byte[] q) |
Set the RSA secret prime, with p < q value.
|
JsonWebKey |
JsonWebKey.withQi(byte[] qi) |
Set RSA Private Key Parameter value.
|
JsonWebKey |
JsonWebKey.withT(byte[] t) |
Set HSM Token value, used with Bring Your Own Key.
|
JsonWebKey |
JsonWebKey.withX(byte[] x) |
Set the x value.
|
JsonWebKey |
JsonWebKey.withY(byte[] y) |
Set the y value.
|