Module io.helidon.security
Package io.helidon.security.spi
Interface DigestProvider<T extends ProviderConfig>
- Type Parameters:
T
- type of the custom configuration object
- All Superinterfaces:
SecurityProvider
- All Known Implementing Classes:
TransitSecurityProvider
Provider that can create digests of bytes, and then verify them.
The digest may be a signature, HMAC or similar.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Function to generate a digest from bytes.static class
Digest support created for each named digest configuration, used bySecurity
forSecurity.digest(String, byte[])
andSecurity.verifyDigest(String, byte[], String)
methods.static interface
Function to verify a digest string. -
Method Summary
Modifier and TypeMethodDescriptionCreate digest support from configuration.Create digest support from configuration object.Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
Method Details
-
digest
Create digest support from configuration.- Parameters:
config
- config located on the node of the specific digestconfig
node- Returns:
- digest support to digest/verify
-
digest
Create digest support from configuration object.- Parameters:
providerConfig
- configuring a specific digest- Returns:
- digest support to digest/verify
-