public enum SCRAM extends Enum<SCRAM>
Modifier and Type | Method and Description |
---|---|
String |
getDigest() |
String |
getHmac() |
String |
getName() |
static SCRAM |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SCRAM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SCRAM SHA512
public static final SCRAM SHA256
public static SCRAM[] values()
for (SCRAM c : SCRAM.values()) System.out.println(c);
public static SCRAM 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()
public String getDigest()
public String getHmac()
Copyright © 2021 The Apache Software Foundation. All rights reserved.