|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nimbusds.jose.ECKey.Curve
@Immutable public static class ECKey.Curve
Cryptographic curve. This class is immutable.
Includes constants for the following standard cryptographic curves:
See "Digital Signature Standard (DSS)", FIPS PUB 186-3, June 2009, National Institute of Standards and Technology (NIST).
| Field Summary | |
|---|---|
static ECKey.Curve |
P_256
P-256 curve. |
static ECKey.Curve |
P_384
P-384 curve. |
static ECKey.Curve |
P_521
P-521 curve. |
| Constructor Summary | |
|---|---|
ECKey.Curve(String name)
Creates a new cryptographic curve with the specified name. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Overrides Object.equals(). |
String |
getName()
Gets the name of this cryptographic curve. |
static ECKey.Curve |
parse(String s)
Parses a cryptographic curve from the specified string. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ECKey.Curve P_256
public static final ECKey.Curve P_384
public static final ECKey.Curve P_521
| Constructor Detail |
|---|
public ECKey.Curve(String name)
name - The name of the cryptographic curve. Must not be
null.| Method Detail |
|---|
public String getName()
public String toString()
toString in class ObjectgetName()public boolean equals(Object object)
Object.equals().
equals in class Objectobject - The object to compare to.
true if the objects have the same value,
otherwise false.
public static ECKey.Curve parse(String s)
throws ParseException
s - The string to parse. Must not be null.
ParseException - If the string couldn't be parsed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||