Class DiffieHellman.Server

java.lang.Object
org.eclipse.net4j.util.security.DiffieHellman.Server
Enclosing class:
DiffieHellman

public static class DiffieHellman.Server extends Object
Executes the server-side of the Diffie-Hellman key agreement protocol.
Author:
Eike Stepper
  • Field Details

    • DEFAULT_SECRET_ALGORITHM

      @Deprecated public static final String DEFAULT_SECRET_ALGORITHM
      Deprecated.
      As of 3.8 the default secret algorithm is "AES".
      See Also:
    • DEFAULT_CYPHER_TRANSFORMATION

      @Deprecated public static final String DEFAULT_CYPHER_TRANSFORMATION
      Deprecated.
      As of 3.8 the default cipher transformation is "AES/CBC/PKCS5Padding".
      See Also:
  • Constructor Details

    • Server

      public Server(String realm, KeyPairGenerator keyPairGenerator, int secretAlgorithmKeyLen, String secretAlgorithm, String cipherTransformation)
      Since:
      3.8
    • Server

      public Server(String realm, int diffieHellmanKeySize, int secretAlgorithmKeyLen, String secretAlgorithm, String cipherTransformation)
      Since:
      3.8
    • Server

      public Server(String realm, int diffieHellmanKeySize, String secretAlgorithm, String cipherTransformation)
      Since:
      3.8
    • Server

      public Server(String realm, int diffieHellmanKeySize)
      Since:
      3.8
    • Server

      public Server(String realm)
    • Server

      public Server(String realm, DHParameterSpec dhParamSpec, int secretAlgorithmKeyLen, String secretAlgorithm, String cipherTransformation)
      Since:
      3.8
    • Server

      public Server(String realm, DHParameterSpec dhParamSpec, String secretAlgorithm, String cipherTransformation)
    • Server

      public Server(String realm, DHParameterSpec dhParamSpec)
  • Method Details