public enum BuiltinKEM extends Enum<BuiltinKEM> implements KeyEncapsulationMethod, NamedResource, OptionalFeature
KeyEncapsulationMethod.Client, KeyEncapsulationMethod.Server| Enum Constant and Description |
|---|
sntrup761 |
BY_NAME_COMPARATOR, NAME_EXTRACTORFALSE, TRUE| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static BuiltinKEM |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltinKEM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClient, getServerfindByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByNameall, any, isSupported, ofpublic static final BuiltinKEM sntrup761
public static BuiltinKEM[] values()
for (BuiltinKEM c : BuiltinKEM.values()) System.out.println(c);
public static BuiltinKEM 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 getName()
getName in interface NamedResourceCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.