public static enum DtlsServerParams.AuthenticationMode extends Enum<DtlsServerParams.AuthenticationMode>
| Enum Constant and Description |
|---|
MANDATORY
Use a certificate for authentication.
|
NONE
Don't use a certificate for authentication.
|
OPTIONAL
Use a certificate for optional authentication.
|
| Modifier and Type | Method and Description |
|---|---|
static DtlsServerParams.AuthenticationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DtlsServerParams.AuthenticationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DtlsServerParams.AuthenticationMode NONE
public static final DtlsServerParams.AuthenticationMode OPTIONAL
public static final DtlsServerParams.AuthenticationMode MANDATORY
public static DtlsServerParams.AuthenticationMode[] values()
for (DtlsServerParams.AuthenticationMode c : DtlsServerParams.AuthenticationMode.values()) System.out.println(c);
public static DtlsServerParams.AuthenticationMode 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 nullCopyright © 2019–2024 Teslanet.nl. All rights reserved.