Package org.eclipse.net4j.util.security
Class DiffieHellman.Server
java.lang.Object
org.eclipse.net4j.util.security.DiffieHellman.Server
- Enclosing class:
- DiffieHellman
Executes the server-side of the Diffie-Hellman key agreement protocol.
- Author:
- Eike Stepper
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServer
(String realm, int diffieHellmanKeySize, int secretAlgorithmKeyLen, String secretAlgorithm, String cipherTransformation) Server
(String realm, KeyPairGenerator keyPairGenerator, int secretAlgorithmKeyLen, String secretAlgorithm, String cipherTransformation) Server
(String realm, DHParameterSpec dhParamSpec) Server
(String realm, DHParameterSpec dhParamSpec, int secretAlgorithmKeyLen, String secretAlgorithm, String cipherTransformation) Server
(String realm, DHParameterSpec dhParamSpec, String secretAlgorithm, String cipherTransformation) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
getRealm()
byte[]
handleResponse
(DiffieHellman.Client.Response response)
-
Field Details
-
DEFAULT_SECRET_ALGORITHM
Deprecated.As of 3.8 the default secret algorithm is "AES".- See Also:
-
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
- Since:
- 3.8
-
Server
-
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
-
-
Method Details
-
getRealm
-
getChallenge
-
handleResponse
-