Module io.helidon.security
Package io.helidon.security.spi
Interface EncryptionProvider<T extends ProviderConfig>
-
- Type Parameters:
T- type of the custom configuration object
- All Superinterfaces:
SecurityProvider
- All Known Implementing Classes:
ConfigVaultProvider,OciVaultSecurityProvider,TransitSecurityProvider
public interface EncryptionProvider<T extends ProviderConfig> extends SecurityProvider
Provider that can encrypt and decrypt secrets.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEncryptionProvider.EncryptionSupportEncryption support created for each named encryption configuration.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionProvider.EncryptionSupportencryption(Config config)Create encryption support from configuration.EncryptionProvider.EncryptionSupportencryption(T providerConfig)Create encryption support from configuration object.-
Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
-
-
-
Method Detail
-
encryption
EncryptionProvider.EncryptionSupport encryption(Config config)
Create encryption support from configuration.- Parameters:
config- config located on the node of the specific encryptionconfignode- Returns:
- encryption support to encrypt/decrypt
-
encryption
EncryptionProvider.EncryptionSupport encryption(T providerConfig)
Create encryption support from configuration object.- Parameters:
providerConfig- configuring a specific encryption- Returns:
- encryption support to encrypt/decrypt
-
-