org.eclipse.net4j.util.security
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SECRET_ALGORITHM
public static final String DEFAULT_SECRET_ALGORITHM
- See Also:
- Constant Field Values
DEFAULT_CYPHER_TRANSFORMATION
public static final String DEFAULT_CYPHER_TRANSFORMATION
- See Also:
- Constant Field Values
DiffieHellman.Server
public DiffieHellman.Server(String realm,
DHParameterSpec dhParamSpec,
String secretAlgorithm,
String cypherTransformation)
DiffieHellman.Server
public DiffieHellman.Server(String realm,
DHParameterSpec dhParamSpec)
DiffieHellman.Server
public DiffieHellman.Server(String realm)
getRealm
public final String getRealm()
getChallenge
public final DiffieHellman.Server.Challenge getChallenge()
handleResponse
public byte[] handleResponse(DiffieHellman.Client.Response response)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.