java.lang.Object
io.helidon.common.crypto.HashDigest.Builder
- All Implemented Interfaces:
Builder<HashDigest.Builder,
,HashDigest> Supplier<HashDigest>
- Enclosing class:
HashDigest
public static final class HashDigest.Builder
extends Object
implements Builder<HashDigest.Builder,HashDigest>
Builder of the
HashDigest
.-
Method Details
-
algorithm
Set digest algorithm.- Parameters:
algorithm
- algorithm to be used- Returns:
- updated builder instance
-
provider
Set provider of the algorithm.- Parameters:
provider
- provider to be used- Returns:
- updated builder instance
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<HashDigest.Builder,
HashDigest> - Returns:
- instance of the built type
-