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

    Constructors
    Constructor
    Description
    EncryptionManagerImpl(org.gridgain.internal.encryption.configuration.EncryptionConfiguration encryptionConfiguration, org.gridgain.internal.license.LicenseFeatureChecker featureChecker)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gridgain.internal.encryption.provider.DataEncryptionKey
    decryptDataKey(byte[] data)
     
    org.gridgain.internal.encryption.provider.DataEncryptionKeyWithProvider
     
    byte[]
    encryptDataKey(org.gridgain.internal.encryption.provider.DataEncryptionKey key)
     
    byte[]
    encryptDataKeyByProvider(org.gridgain.internal.encryption.provider.DataEncryptionKey key, String providerName)
     
    boolean
     
    boolean
    hasProvider(String providerName)
     
    void
    init(org.gridgain.internal.encryption.configuration.EncryptionView view)
    Initializes the internal state of the manager during cluster init.
    void
    initOnRecovery(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, removeListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.ignite.internal.lang.Debuggable

    dumpState

    Methods inherited from interface org.apache.ignite.internal.event.EventProducer

    listen, removeListener

    Methods 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:
      startAsync in interface org.apache.ignite.internal.manager.IgniteComponent
    • stopAsync

      public CompletableFuture<Void> stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext)
      Specified by:
      stopAsync in interface org.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

      public boolean hasProvider(String providerName)
      Specified by:
      hasProvider in interface org.gridgain.internal.encryption.EncryptionManager
    • encryptionEnabled

      public boolean encryptionEnabled()
      Specified by:
      encryptionEnabled in interface org.gridgain.internal.encryption.EncryptionManager
    • encryptDataKey

      public byte[] encryptDataKey(org.gridgain.internal.encryption.provider.DataEncryptionKey key)
      Specified by:
      encryptDataKey in interface org.gridgain.internal.encryption.EncryptionManager
    • encryptDataKeyByProvider

      public byte[] encryptDataKeyByProvider(org.gridgain.internal.encryption.provider.DataEncryptionKey key, String providerName)
      Specified by:
      encryptDataKeyByProvider in interface org.gridgain.internal.encryption.EncryptionManager
    • decryptDataKey

      public org.gridgain.internal.encryption.provider.DataEncryptionKey decryptDataKey(byte[] data)
      Specified by:
      decryptDataKey in interface org.gridgain.internal.encryption.EncryptionManager
    • decryptDataKeyWithProvider

      public org.gridgain.internal.encryption.provider.DataEncryptionKeyWithProvider decryptDataKeyWithProvider(byte[] data)
      Specified by:
      decryptDataKeyWithProvider in interface org.gridgain.internal.encryption.EncryptionManager