public enum ContentEncryptionAlgorithm extends Enum<ContentEncryptionAlgorithm>
| Enum Constant and Description |
|---|
A128CBC_HS256 |
A128GCM |
A192CBC_HS384 |
A192GCM |
A256CBC_HS512 |
A256GCM |
| Modifier and Type | Method and Description |
|---|---|
static ContentEncryptionAlgorithm |
fromAlgorithm(String algorithmName) |
String |
getAlgorithm() |
static ContentEncryptionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentEncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentEncryptionAlgorithm A128GCM
public static final ContentEncryptionAlgorithm A192GCM
public static final ContentEncryptionAlgorithm A256GCM
public static final ContentEncryptionAlgorithm A128CBC_HS256
public static final ContentEncryptionAlgorithm A192CBC_HS384
public static final ContentEncryptionAlgorithm A256CBC_HS512
public static ContentEncryptionAlgorithm[] values()
for (ContentEncryptionAlgorithm c : ContentEncryptionAlgorithm.values()) System.out.println(c);
public static ContentEncryptionAlgorithm 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 getAlgorithm()
public static ContentEncryptionAlgorithm fromAlgorithm(String algorithmName)
Copyright © 2018–2021. All rights reserved.