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:
OciVaultSecurityProvider
,TransitSecurityProvider
public interface DigestProvider<T extends ProviderConfig> extends SecurityProvider
Provider that can create digests of bytes, and then verify them. The digest may be a signature, HMAC or similar.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DigestProvider.DigestFunction
Function to generate a digest from bytes.static class
DigestProvider.DigestSupport
Digest support created for each named digest configuration, used bySecurity
forSecurity.digest(String, byte[])
andSecurity.verifyDigest(String, byte[], String)
methods.static interface
DigestProvider.VerifyFunction
Function to verify a digest string.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DigestProvider.DigestSupport
digest(Config config)
Create digest support from configuration.DigestProvider.DigestSupport
digest(T providerConfig)
Create digest support from configuration object.-
Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
-
-
-
Method Detail
-
digest
DigestProvider.DigestSupport digest(Config config)
Create digest support from configuration.- Parameters:
config
- config located on the node of the specific digestconfig
node- Returns:
- digest support to digest/verify
-
digest
DigestProvider.DigestSupport digest(T providerConfig)
Create digest support from configuration object.- Parameters:
providerConfig
- configuring a specific digest- Returns:
- digest support to digest/verify
-
-