|
|||||||||
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.SupportedEllipticCurves.NamedCurve
public static class SupportedEllipticCurves.NamedCurve
TLS NamedCurve.
Field Summary | |
---|---|
protected static int |
ARBITRARY_EXPLICIT_CHAR2
TLS ID for indicating support for arbitrary characteristic-2 curves (the curve parameters must be encoded explicitly in ECParameters). |
protected static int |
ARBITRARY_EXPLICIT_PRIME
TLS ID for indicating support for arbitrary prime curves (the curve parameters must be encoded explicitly in ECParameters). |
Constructor Summary | |
---|---|
SupportedEllipticCurves.NamedCurve(java.lang.String name,
java.lang.String oid,
int id)
Creates a curve with the given name, oid string and id. |
|
SupportedEllipticCurves.NamedCurve(java.lang.String name,
java.lang.String oid,
int id,
boolean register)
Creates a curve with the given name, oid string and id. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Gets a clone of this NamedCurve object. |
int |
getID()
Gets the TLS id of this curve. |
java.lang.String |
getName()
Gets the name of the curve. |
java.lang.String |
getOID()
Gets the oid string of the curve. |
java.lang.String |
toString()
Gets a String representation of this NamedCurve. |
Methods inherited from class iaik.security.ssl.NamedGroup |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final int ARBITRARY_EXPLICIT_PRIME
protected static final int ARBITRARY_EXPLICIT_CHAR2
Constructor Detail |
---|
public SupportedEllipticCurves.NamedCurve(java.lang.String name, java.lang.String oid, int id)
name
- the name of the curveoid
- the oid string of the curveid
- the TLS id of the curve
java.lang.IllegalArgumentException
- if the given TLS id is out-of-range
(not between 1 and 216-1);
or name
is null
public SupportedEllipticCurves.NamedCurve(java.lang.String name, java.lang.String oid, int id, boolean register)
name
- the name of the curveoid
- the oid string of the curveid
- the TLS id of the curveregister
- whether to register the NamedCurve in the supported curves 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 java.lang.String getName()
getName
in class NamedGroup
public java.lang.String getOID()
null
if the oid not known)public int getID()
getID
in class NamedGroup
public java.lang.Object clone()
clone
in class NamedGroup
public java.lang.String toString()
toString
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 |