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 TypeMethodDescriptiondefault DigestProvider.DigestSupportDeprecated, for removal: This API element is subject to removal in a future version.default DigestProvider.DigestSupportCreate 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
@Deprecated(since="4.4.0", forRemoval=true) default DigestProvider.DigestSupport digest(Config config) Deprecated, for removal: This API element is subject to removal in a future version.usedigest(io.helidon.config.Config)insteadCreate 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.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Parameters:
config- config located on the node of the specific digestconfignode- Returns:
- digest support to digest/verify
- Since:
- 4.4.0
-
digest
Create digest support from configuration object.- Parameters:
providerConfig- configuring a specific digest- Returns:
- digest support to digest/verify
-
digest(io.helidon.config.Config)instead