Class Base64EncodedHashDigest
- java.lang.Object
-
- org.camunda.bpm.engine.impl.digest.Base64EncodedHashDigest
-
- Direct Known Subclasses:
Sha512HashDigest
,ShaHashDigest
public abstract class Base64EncodedHashDigest extends Object
- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description Base64EncodedHashDigest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
check(String password, String encrypted)
protected byte[]
createByteHash(String password)
protected MessageDigest
createDigestInstance()
protected String
encodeHash(byte[] hash)
String
encrypt(String password)
protected abstract String
hashAlgorithmName()
allows subclasses to select the hash algorithm
-
-
-
Method Detail
-
createByteHash
protected byte[] createByteHash(String password)
-
createDigestInstance
protected MessageDigest createDigestInstance()
-
encodeHash
protected String encodeHash(byte[] hash)
-
hashAlgorithmName
protected abstract String hashAlgorithmName()
allows subclasses to select the hash algorithm
-
-