public static class DiffieHellman.Server extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DiffieHellman.Server.Challenge |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CYPHER_TRANSFORMATION |
static String |
DEFAULT_SECRET_ALGORITHM |
Constructor and Description |
---|
DiffieHellman.Server(String realm) |
DiffieHellman.Server(String realm,
DHParameterSpec dhParamSpec) |
DiffieHellman.Server(String realm,
DHParameterSpec dhParamSpec,
String secretAlgorithm,
String cypherTransformation) |
Modifier and Type | Method and Description |
---|---|
DiffieHellman.Server.Challenge |
getChallenge() |
String |
getRealm() |
byte[] |
handleResponse(DiffieHellman.Client.Response response) |
public static final String DEFAULT_SECRET_ALGORITHM
public static final String DEFAULT_CYPHER_TRANSFORMATION
public DiffieHellman.Server(String realm, DHParameterSpec dhParamSpec, String secretAlgorithm, String cypherTransformation)
public DiffieHellman.Server(String realm, DHParameterSpec dhParamSpec)
public DiffieHellman.Server(String realm)
public final String getRealm()
public final DiffieHellman.Server.Challenge getChallenge()
public byte[] handleResponse(DiffieHellman.Client.Response response)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.