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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceFunction to generate a digest from bytes.static classDigest support created for each named digest configuration, used bySecurityforSecurity.digest(String, byte[])andSecurity.verifyDigest(String, byte[], String)methods.static interfaceFunction 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 digestconfignode- 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
-