|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.security.ssl.NamedGroup iaik.security.ssl.SupportedGroups.NamedFFDHEGroup
public static class SupportedGroups.NamedFFDHEGroup
TLS NamedFFDHEGroup.
Constructor Summary | |
---|---|
SupportedGroups.NamedFFDHEGroup(java.lang.String name,
java.math.BigInteger p,
java.math.BigInteger g,
int id)
Creates a FFDHE group with the given name, prime modulus and base generator, and id. |
|
SupportedGroups.NamedFFDHEGroup(java.lang.String name,
java.math.BigInteger p,
java.math.BigInteger g,
int id,
boolean register)
Creates a FFDHE group with the given name, prime modulus and base generator, and id. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Gets a clone of this NamedCurve object. |
javax.crypto.spec.DHParameterSpec |
getParams()
Gets the DH parameters of this FFDHE group. |
Methods inherited from class iaik.security.ssl.NamedGroup |
---|
equals, getID, getName, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SupportedGroups.NamedFFDHEGroup(java.lang.String name, java.math.BigInteger p, java.math.BigInteger g, int id)
name
- the name of the groupp
- the prime modulusg
- the base generatorid
- the TLS id of the group
java.lang.IllegalArgumentException
- if the given TLS id is out-of-range (not between 1 and
216-1); or name
is null
public SupportedGroups.NamedFFDHEGroup(java.lang.String name, java.math.BigInteger p, java.math.BigInteger g, int id, boolean register)
name
- the name of the groupp
- the prime modulusg
- the base generatorid
- the TLS id of the groupregister
- whether to register the NamedGroup in the supported groups
repository
java.lang.IllegalArgumentException
- if the given TLS id is out-of-range (not between 1 and
216-1); or name
is null
Method Detail |
---|
public javax.crypto.spec.DHParameterSpec getParams()
null
if
the parameters are not known)public java.lang.Object clone()
clone
in class NamedGroup
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |