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
Nested Classes Modifier and Type Class Description static class
TransitSecurityProvider.TransitDigestConfig
Configuration of a digest when using programmatic setup of security digests.static class
TransitSecurityProvider.TransitEncryptionConfig
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DigestProvider.DigestSupport
digest(Config config)
Create digest support from configuration.DigestProvider.DigestSupport
digest(TransitSecurityProvider.TransitDigestConfig providerConfig)
Create digest support from configuration object.EncryptionProvider.EncryptionSupport
encryption(Config config)
Create encryption support from configuration.EncryptionProvider.EncryptionSupport
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 Detail
-
encryption
public EncryptionProvider.EncryptionSupport encryption(Config config)
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
public DigestProvider.DigestSupport digest(Config config)
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
-
-