|
Oracle Fusion Middleware REST Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E26380-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<JwtToken.SIGN_ALGORITHM>
oracle.security.restsec.jwt.JwtToken.SIGN_ALGORITHM
public static enum JwtToken.SIGN_ALGORITHM
This represents the specific cryptographic algorithms to sign the contents of the JWT token.
Enum Constant Summary | |
---|---|
ES256 ECDSA using P-256 curve and SHA-256 hash algorithm |
|
ES384 ECDSA using P-384 curve and SHA-384 hash algorithm |
|
ES512 ECDSA using P-521 curve and SHA-512 hash algorithm |
|
HS256 HMAC using SHA-256 hash algorithm |
|
HS384 HMAC using SHA-384 hash algorithm |
|
HS512 HMAC using SHA-512 hash algorithm |
|
none This represents the sign algorithm value to be used when signing of JWT token is not required. |
|
RS256 RSA using SHA-256 hash algorithm |
|
RS384 RSA using SHA-384 hash algorithm |
|
RS512 RSA using SHA-512 hash algorithm |
Method Summary | |
---|---|
static JwtToken.SIGN_ALGORITHM |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static JwtToken.SIGN_ALGORITHM[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JwtToken.SIGN_ALGORITHM none
This represents the sign algorithm value to be used when signing of JWT token is not required.
public static final JwtToken.SIGN_ALGORITHM RS256
public static final JwtToken.SIGN_ALGORITHM RS384
public static final JwtToken.SIGN_ALGORITHM RS512
public static final JwtToken.SIGN_ALGORITHM ES256
public static final JwtToken.SIGN_ALGORITHM ES384
public static final JwtToken.SIGN_ALGORITHM ES512
public static final JwtToken.SIGN_ALGORITHM HS256
public static final JwtToken.SIGN_ALGORITHM HS384
public static final JwtToken.SIGN_ALGORITHM HS512
Method Detail |
---|
public static JwtToken.SIGN_ALGORITHM[] values()
for (JwtToken.SIGN_ALGORITHM c : JwtToken.SIGN_ALGORITHM.values()) System.out.println(c);
public static JwtToken.SIGN_ALGORITHM valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
|
Oracle Fusion Middleware REST Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E26380-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |