Class AbstractShaHashingService
- java.lang.Object
-
- de.adorsys.psd2.validator.signature.service.algorithm.hashing.AbstractShaHashingService
-
- All Implemented Interfaces:
HashingService
- Direct Known Subclasses:
Sha256HashingService,Sha512HashingService
public abstract class AbstractShaHashingService extends Object implements HashingService
-
-
Constructor Summary
Constructors Constructor Description AbstractShaHashingService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract HashingAlgorithmgetAlgorithm()byte[]hash(String data, Charset charset)
-
-
-
Method Detail
-
hash
public byte[] hash(String data, Charset charset)
- Specified by:
hashin interfaceHashingService
-
getAlgorithm
protected abstract HashingAlgorithm getAlgorithm()
-
-