public enum PublicKeyCredential extends Enum<PublicKeyCredential>
Enum Constant and Description |
---|
EdDSA |
ES256 |
ES256K |
ES384 |
ES512 |
PS256 |
PS384 |
PS512 |
RS1 |
RS256 |
RS384 |
RS512 |
Modifier and Type | Method and Description |
---|---|
int |
coseId() |
static PublicKeyCredential |
valueOf(int coseId) |
static PublicKeyCredential |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublicKeyCredential[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicKeyCredential ES256
public static final PublicKeyCredential ES384
public static final PublicKeyCredential ES512
public static final PublicKeyCredential PS256
public static final PublicKeyCredential PS384
public static final PublicKeyCredential PS512
public static final PublicKeyCredential ES256K
public static final PublicKeyCredential RS256
public static final PublicKeyCredential RS384
public static final PublicKeyCredential RS512
public static final PublicKeyCredential RS1
public static final PublicKeyCredential EdDSA
public static PublicKeyCredential[] values()
for (PublicKeyCredential c : PublicKeyCredential.values()) System.out.println(c);
public static PublicKeyCredential 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 static PublicKeyCredential valueOf(int coseId)
public int coseId()
Copyright © 2024 Eclipse. All rights reserved.