- Enclosing interface:
- DigestProvider<T extends ProviderConfig>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function to generate a digest from bytes.
-
Method Summary
-
Method Details
-
apply
Create digest.- Parameters:
data
- data to digestpreHashed
- whether the data is already a hash (true
), or the raw data (false
)- Returns:
- future with the digest string (signature, HMAC)
-