public enum PKCECodeChallengeMethod extends Enum<PKCECodeChallengeMethod>
Modifier and Type | Method and Description |
---|---|
abstract String |
transform2CodeChallenge(String codeVerifier) |
static PKCECodeChallengeMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PKCECodeChallengeMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKCECodeChallengeMethod S256
public static final PKCECodeChallengeMethod plain
public static PKCECodeChallengeMethod[] values()
for (PKCECodeChallengeMethod c : PKCECodeChallengeMethod.values()) System.out.println(c);
public static PKCECodeChallengeMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract String transform2CodeChallenge(String codeVerifier) throws NoSuchAlgorithmException
NoSuchAlgorithmException
Copyright © 2017. All rights reserved.