public enum Curve extends Enum<Curve>
| 限定符和类型 | 方法和说明 |
|---|---|
static Curve |
fromLabel(int v) |
int |
getLabel() |
String |
toString() |
static Curve |
valueOf(org.bouncycastle.math.ec.ECCurve v) |
static Curve |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Curve[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Curve P224
public static final Curve P256
public static final Curve P384
public static final Curve P521
public static final Curve SM2P256V1
public static final Curve ED25519
public static Curve[] values()
for (Curve c : Curve.values()) System.out.println(c);
public static Curve valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getLabel()
public static Curve valueOf(org.bouncycastle.math.ec.ECCurve v) throws Exception
ExceptionCopyright © 2021. All rights reserved.