public enum CipherAlgorithm extends Enum<CipherAlgorithm>
Enum Constant and Description |
---|
AES |
BCRYPT |
SHA |
SHA1 |
SHA256 |
SHA512 |
SMD5 |
SSHA |
SSHA1 |
SSHA256 |
SSHA512 |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
boolean |
isInvertible() |
boolean |
isSalted() |
static CipherAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CipherAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CipherAlgorithm SHA
public static final CipherAlgorithm SHA1
public static final CipherAlgorithm SHA256
public static final CipherAlgorithm SHA512
public static final CipherAlgorithm AES
public static final CipherAlgorithm SMD5
public static final CipherAlgorithm SSHA
public static final CipherAlgorithm SSHA1
public static final CipherAlgorithm SSHA256
public static final CipherAlgorithm SSHA512
public static final CipherAlgorithm BCRYPT
public static CipherAlgorithm[] values()
for (CipherAlgorithm c : CipherAlgorithm.values()) System.out.println(c);
public static CipherAlgorithm 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 boolean isInvertible()
public boolean isSalted()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.