public static enum ListKeysRequest.Algorithm extends Enum<ListKeysRequest.Algorithm> implements BmcEnum
The algorithm used by a key’s key versions to encrypt or decrypt data. Currently, support includes AES, RSA, and ECDSA algorithms.
Modifier and Type | Method and Description |
---|---|
static ListKeysRequest.Algorithm |
create(String key) |
String |
getValue() |
static ListKeysRequest.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListKeysRequest.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListKeysRequest.Algorithm Aes
public static final ListKeysRequest.Algorithm Rsa
public static final ListKeysRequest.Algorithm Ecdsa
public static ListKeysRequest.Algorithm[] values()
for (ListKeysRequest.Algorithm c : ListKeysRequest.Algorithm.values()) System.out.println(c);
public static ListKeysRequest.Algorithm 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 ListKeysRequest.Algorithm create(String key)
Copyright © 2016–2024. All rights reserved.