Class Base64EncodedSaltGenerator
- java.lang.Object
-
- org.camunda.bpm.engine.impl.digest.Base64EncodedSaltGenerator
-
- All Implemented Interfaces:
SaltGenerator
- Direct Known Subclasses:
Default16ByteSaltGenerator
public abstract class Base64EncodedSaltGenerator extends Object implements SaltGenerator
-
-
Field Summary
Fields Modifier and Type Field Description protected Random
secureRandom
-
Constructor Summary
Constructors Constructor Description Base64EncodedSaltGenerator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
encodeSalt(byte[] salt)
protected byte[]
generateByteSalt()
String
generateSalt()
protected abstract Integer
getSaltLengthInByte()
-
-
-
Field Detail
-
secureRandom
protected Random secureRandom
-
-
Method Detail
-
generateSalt
public String generateSalt()
- Specified by:
generateSalt
in interfaceSaltGenerator
-
generateByteSalt
protected byte[] generateByteSalt()
-
encodeSalt
protected String encodeSalt(byte[] salt)
-
getSaltLengthInByte
protected abstract Integer getSaltLengthInByte()
-
-