public static enum JsonWebKey.Kty extends Enum<JsonWebKey.Kty>
The key type.
| Enum Constant and Description |
|---|
Rsa |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonWebKey.Kty |
create(String key) |
String |
getValue() |
static JsonWebKey.Kty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonWebKey.Kty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonWebKey.Kty Rsa
public static final JsonWebKey.Kty UnknownEnumValue
public static JsonWebKey.Kty[] values()
for (JsonWebKey.Kty c : JsonWebKey.Kty.values()) System.out.println(c);
public static JsonWebKey.Kty 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 String getValue()
public static JsonWebKey.Kty create(String key)
Copyright © 2016–2021. All rights reserved.