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 java.lang.Object implements SaltGenerator
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Random
secureRandom
-
Constructor Summary
Constructors Constructor Description Base64EncodedSaltGenerator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
encodeSalt(byte[] salt)
protected byte[]
generateByteSalt()
java.lang.String
generateSalt()
protected abstract java.lang.Integer
getSaltLengthInByte()
-
-
-
Method Detail
-
generateSalt
public java.lang.String generateSalt()
- Specified by:
generateSalt
in interfaceSaltGenerator
-
generateByteSalt
protected byte[] generateByteSalt()
-
encodeSalt
protected java.lang.String encodeSalt(byte[] salt)
-
getSaltLengthInByte
protected abstract java.lang.Integer getSaltLengthInByte()
-
-