Class TransitSecurityProvider
java.lang.Object
io.helidon.integrations.vault.secrets.transit.TransitSecurityProvider
- All Implemented Interfaces:
DigestProvider<TransitSecurityProvider.TransitDigestConfig>
,EncryptionProvider<TransitSecurityProvider.TransitEncryptionConfig>
,SecurityProvider
public class TransitSecurityProvider
extends Object
implements EncryptionProvider<TransitSecurityProvider.TransitEncryptionConfig>, DigestProvider<TransitSecurityProvider.TransitDigestConfig>
Integration with Helidon Security.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Configuration of a digest when using programmatic setup of security digests.static class
Configuration of encryption when using programmatic setup of security.Nested classes/interfaces inherited from interface io.helidon.security.spi.DigestProvider
DigestProvider.DigestFunction, DigestProvider.DigestSupport, DigestProvider.VerifyFunction
Nested classes/interfaces inherited from interface io.helidon.security.spi.EncryptionProvider
EncryptionProvider.EncryptionSupport
-
Method Summary
Modifier and TypeMethodDescriptionCreate digest support from configuration.digest
(TransitSecurityProvider.TransitDigestConfig providerConfig) Create digest support from configuration object.encryption
(Config config) Create encryption support from configuration.encryption
(TransitSecurityProvider.TransitEncryptionConfig providerConfig) Create encryption support from configuration object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
Method Details
-
encryption
Description copied from interface:EncryptionProvider
Create encryption support from configuration.- Specified by:
encryption
in interfaceEncryptionProvider<TransitSecurityProvider.TransitEncryptionConfig>
- Parameters:
config
- config located on the node of the specific encryptionconfig
node- Returns:
- encryption support to encrypt/decrypt
-
encryption
public EncryptionProvider.EncryptionSupport encryption(TransitSecurityProvider.TransitEncryptionConfig providerConfig) Description copied from interface:EncryptionProvider
Create encryption support from configuration object.- Specified by:
encryption
in interfaceEncryptionProvider<TransitSecurityProvider.TransitEncryptionConfig>
- Parameters:
providerConfig
- configuring a specific encryption- Returns:
- encryption support to encrypt/decrypt
-
digest
Description copied from interface:DigestProvider
Create digest support from configuration.- Specified by:
digest
in interfaceDigestProvider<TransitSecurityProvider.TransitDigestConfig>
- Parameters:
config
- config located on the node of the specific digestconfig
node- Returns:
- digest support to digest/verify
-
digest
public DigestProvider.DigestSupport digest(TransitSecurityProvider.TransitDigestConfig providerConfig) Description copied from interface:DigestProvider
Create digest support from configuration object.- Specified by:
digest
in interfaceDigestProvider<TransitSecurityProvider.TransitDigestConfig>
- Parameters:
providerConfig
- configuring a specific digest- Returns:
- digest support to digest/verify
-