Package org.gridgain.internal.encryption
Class EncryptionManagerImpl
java.lang.Object
org.apache.ignite.internal.event.AbstractEventProducer<org.gridgain.internal.encryption.event.EncryptionEvent,org.gridgain.internal.encryption.event.EncryptionEventParameters>
org.gridgain.internal.encryption.EncryptionManagerImpl
- All Implemented Interfaces:
org.apache.ignite.internal.event.EventProducer<org.gridgain.internal.encryption.event.EncryptionEvent,,org.gridgain.internal.encryption.event.EncryptionEventParameters> org.apache.ignite.internal.lang.Debuggable,org.apache.ignite.internal.manager.IgniteComponent,org.gridgain.internal.encryption.EncryptionManager
public class EncryptionManagerImpl
extends org.apache.ignite.internal.event.AbstractEventProducer<org.gridgain.internal.encryption.event.EncryptionEvent,org.gridgain.internal.encryption.event.EncryptionEventParameters>
implements org.gridgain.internal.encryption.EncryptionManager
Implementation of
EncryptionManager.-
Field Summary
Fields inherited from interface org.apache.ignite.internal.lang.Debuggable
INDENTATION -
Constructor Summary
ConstructorsConstructorDescriptionEncryptionManagerImpl(org.gridgain.internal.encryption.configuration.EncryptionConfiguration encryptionConfiguration, org.gridgain.internal.license.LicenseFeatureChecker featureChecker) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.gridgain.internal.encryption.provider.DataEncryptionKeydecryptDataKey(byte[] data) org.gridgain.internal.encryption.provider.DataEncryptionKeyWithProviderdecryptDataKeyWithProvider(byte[] data) byte[]encryptDataKey(org.gridgain.internal.encryption.provider.DataEncryptionKey key) byte[]encryptDataKeyByProvider(org.gridgain.internal.encryption.provider.DataEncryptionKey key, String providerName) booleanbooleanhasProvider(String providerName) voidinit(org.gridgain.internal.encryption.configuration.EncryptionView view) Initializes the internal state of the manager during cluster init.voidinitOnRecovery(org.gridgain.internal.encryption.configuration.EncryptionView view) Initializes the internal state of the manager during node recovery.startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) Methods inherited from class org.apache.ignite.internal.event.AbstractEventProducer
fireEvent, listen, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.ignite.internal.lang.Debuggable
dumpStateMethods inherited from interface org.apache.ignite.internal.event.EventProducer
listen, removeListenerMethods inherited from interface org.apache.ignite.internal.manager.IgniteComponent
beforeNodeStop, stopAsync
-
Constructor Details
-
EncryptionManagerImpl
public EncryptionManagerImpl(org.gridgain.internal.encryption.configuration.EncryptionConfiguration encryptionConfiguration, org.gridgain.internal.license.LicenseFeatureChecker featureChecker) Constructor.
-
-
Method Details
-
startAsync
public CompletableFuture<Void> startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) - Specified by:
startAsyncin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-
stopAsync
public CompletableFuture<Void> stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) - Specified by:
stopAsyncin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-
init
public void init(org.gridgain.internal.encryption.configuration.EncryptionView view) Initializes the internal state of the manager during cluster init. -
initOnRecovery
public void initOnRecovery(org.gridgain.internal.encryption.configuration.EncryptionView view) Initializes the internal state of the manager during node recovery. -
hasProvider
- Specified by:
hasProviderin interfaceorg.gridgain.internal.encryption.EncryptionManager
-
encryptionEnabled
public boolean encryptionEnabled()- Specified by:
encryptionEnabledin interfaceorg.gridgain.internal.encryption.EncryptionManager
-
encryptDataKey
public byte[] encryptDataKey(org.gridgain.internal.encryption.provider.DataEncryptionKey key) - Specified by:
encryptDataKeyin interfaceorg.gridgain.internal.encryption.EncryptionManager
-
encryptDataKeyByProvider
public byte[] encryptDataKeyByProvider(org.gridgain.internal.encryption.provider.DataEncryptionKey key, String providerName) - Specified by:
encryptDataKeyByProviderin interfaceorg.gridgain.internal.encryption.EncryptionManager
-
decryptDataKey
public org.gridgain.internal.encryption.provider.DataEncryptionKey decryptDataKey(byte[] data) - Specified by:
decryptDataKeyin interfaceorg.gridgain.internal.encryption.EncryptionManager
-
decryptDataKeyWithProvider
public org.gridgain.internal.encryption.provider.DataEncryptionKeyWithProvider decryptDataKeyWithProvider(byte[] data) - Specified by:
decryptDataKeyWithProviderin interfaceorg.gridgain.internal.encryption.EncryptionManager
-