Skip to content

Commit

Permalink
Add PS* JsonWebKeySignatureAlg constants
Browse files Browse the repository at this point in the history
  • Loading branch information
RandalliLama authored and Richard Randall committed Mar 9, 2018
1 parent eafad9f commit 6bda41f
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
* Defines values for JsonWebKeySignatureAlgorithm.
*/
public final class JsonWebKeySignatureAlgorithm {
/** Static value PS256 for JsonWebKeySignatureAlgorithm. */
public static final JsonWebKeySignatureAlgorithm PS256 = new JsonWebKeySignatureAlgorithm("PS256");

/** Static value PS384 for JsonWebKeySignatureAlgorithm. */
public static final JsonWebKeySignatureAlgorithm PS384 = new JsonWebKeySignatureAlgorithm("PS384");

/** Static value PS512 for JsonWebKeySignatureAlgorithm. */
public static final JsonWebKeySignatureAlgorithm PS512 = new JsonWebKeySignatureAlgorithm("PS512");

/** Static value RS256 for JsonWebKeySignatureAlgorithm. */
public static final JsonWebKeySignatureAlgorithm RS256 = new JsonWebKeySignatureAlgorithm("RS256");

Expand Down Expand Up @@ -64,7 +73,7 @@ public boolean equals(Object obj) {
return value.equals(rhs.value);
}
}

/**
* All the JWK signature algorithms.
*/
Expand Down

0 comments on commit 6bda41f

Please sign in to comment.