|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.security.ssl.SupportedPointFormats.ECPointFormat
public static final class SupportedPointFormats.ECPointFormat
TLS ECC PointFormat.
Field Summary | |
---|---|
static byte |
COMPRESSED_CHAR2
ECC Point Format COMPRESSED CHAR2 (ANSI X9.62) for characteristic-2 point formats. |
static byte |
COMPRESSED_PRIME
ECC Point Format COMPRESSED PRIME (ANSI X9.62) for prime point formats. |
static byte |
UNCOMPRESSED
ECC Point Format UNCOMPRESSED. |
Constructor Summary | |
---|---|
SupportedPointFormats.ECPointFormat(java.lang.String name,
int id)
Creates a point format the given name and id. |
|
SupportedPointFormats.ECPointFormat(java.lang.String name,
int id,
boolean register)
Creates a point format with the given name and id. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Gets a clone of this PointFormat object. |
boolean |
equals(java.lang.Object obj)
Checks if this PointFormat is equal to the given object. |
int |
getID()
Gets the TLS id of this point format. |
java.lang.String |
getName()
Gets the name of the point format. |
int |
hashCode()
Gets a hash code of this PointFormat object. |
java.lang.String |
toString()
Gets a String representation of this PointFormat. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte UNCOMPRESSED
public static final byte COMPRESSED_PRIME
public static final byte COMPRESSED_CHAR2
Constructor Detail |
---|
public SupportedPointFormats.ECPointFormat(java.lang.String name, int id)
name
- the name of the point formatid
- the TLS id of the point format
java.lang.IllegalArgumentException
- if the given TLS id is out-of-range
(not between 0 and 255;
or name
is null
public SupportedPointFormats.ECPointFormat(java.lang.String name, int id, boolean register)
name
- the name of the point formatid
- the TLS id of the point formatregister
- whether to register the PointFormat in the supported point formats repository
java.lang.IllegalArgumentException
- if the given TLS id is out-of-range
(not between 0 and 255);
or name
is null
Method Detail |
---|
public java.lang.String getName()
public int getID()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
true
if this PointFormat is equal to the
given object (same point format id), false
if
it is not equal to itpublic java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
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 |