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
,TransitSecurityProvider
Provider that can encrypt and decrypt secrets.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Encryption support created for each named encryption configuration. -
Method Summary
Modifier and TypeMethodDescriptionencryption
(Config config) Create encryption support from configuration.encryption
(T providerConfig) Create encryption support from configuration object.Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
Method Details
-
encryption
Create encryption support from configuration.- Parameters:
config
- config located on the node of the specific encryptionconfig
node- Returns:
- encryption support to encrypt/decrypt
-
encryption
Create encryption support from configuration object.- Parameters:
providerConfig
- configuring a specific encryption- Returns:
- encryption support to encrypt/decrypt
-