Class NodeKeyManagerImpl

java.lang.Object
org.gridgain.internal.security.key.NodeKeyManagerImpl
All Implemented Interfaces:
org.apache.ignite.internal.lang.Debuggable, org.apache.ignite.internal.manager.IgniteComponent, NodeKeyManager

public class NodeKeyManagerImpl extends Object implements NodeKeyManager
Implementation of NodeKeyManager that generates RSA key pairs and stores them in PrivateKeyStore and PublicKeyStore.
  • Constructor Details

    • NodeKeyManagerImpl

      public NodeKeyManagerImpl(String nodeName, PrivateKeyStore privateKeyStore, PublicKeyStore publicKeyStore, org.apache.ignite.internal.security.configuration.SecurityConfiguration securityConfiguration)
      Constructor.
      Parameters:
      nodeName - the name of the node for which this manager is responsible.
      privateKeyStore - the store where the private key is to be stored.
      publicKeyStore - the store where the public key is to be stored.
      securityConfiguration - the configuration of the security component.
    • NodeKeyManagerImpl

      @TestOnly public NodeKeyManagerImpl(String nodeName, PrivateKeyStore privateKeyStore, PublicKeyStore publicKeyStore, org.apache.ignite.internal.security.configuration.SecurityConfiguration securityConfiguration, Supplier<Instant> currentTimeSupplier, org.gridgain.internal.security.key.PublicKeyChainCache<RSAPublicKey> publicKeyChainCache, SecretGenerator<RSAPrivateKey,RSAPublicKey> secretGenerator)
      Constructor.
      Parameters:
      nodeName - the name of the node for which this manager is responsible.
      privateKeyStore - the store where the private key is to be stored.
      publicKeyStore - the store where the public key is to be stored.
      securityConfiguration - the configuration of the security component.
      currentTimeSupplier - the supplier of the current time.
      publicKeyChainCache - the cache of public key histories.
      secretGenerator - the generator of RSA key pairs.
  • Method Details