
public interface SimpleDigestPassword extends OneWayPassword
| Modifier and Type | Field and Description |
|---|---|
static String |
ALGORITHM_SIMPLE_DIGEST_MD2
The algorithm name "simple-digest-md2".
|
static String |
ALGORITHM_SIMPLE_DIGEST_MD5
The algorithm name "simple-digest-md5".
|
static String |
ALGORITHM_SIMPLE_DIGEST_SHA_1
The algorithm name "simple-digest-sha-1".
|
static String |
ALGORITHM_SIMPLE_DIGEST_SHA_256
The algorithm name "simple-digest-sha-256".
|
static String |
ALGORITHM_SIMPLE_DIGEST_SHA_384
The algorithm name "simple-digest-sha-384".
|
static String |
ALGORITHM_SIMPLE_DIGEST_SHA_512
The algorithm name "simple-digest-sha-512".
|
serialVersionUID| Modifier and Type | Method and Description |
|---|---|
SimpleDigestPassword |
clone()
Creates and returns a copy of this
Password. |
static SimpleDigestPassword |
createRaw(String algorithm,
byte[] digest)
Create a raw implementation of this password type.
|
byte[] |
getDigest()
Get the digest of this password.
|
castAndApply, castAndApply, castAs, castAs, getParameterSpec, impliesParametersgetAlgorithm, getEncoded, getFormatstatic final String ALGORITHM_SIMPLE_DIGEST_MD2
static final String ALGORITHM_SIMPLE_DIGEST_MD5
static final String ALGORITHM_SIMPLE_DIGEST_SHA_1
static final String ALGORITHM_SIMPLE_DIGEST_SHA_256
static final String ALGORITHM_SIMPLE_DIGEST_SHA_384
static final String ALGORITHM_SIMPLE_DIGEST_SHA_512
byte[] getDigest()
SimpleDigestPassword clone()
Password.clone in interface OneWayPasswordclone in interface PasswordPassword.static SimpleDigestPassword createRaw(String algorithm, byte[] digest)
PasswordFactory (via the PasswordFactory.translate(Password) method)
before it can be validated and used to verify guesses.algorithm - the algorithm namedigest - the digestCopyright © 2020 JBoss by Red Hat. All rights reserved.