CertificateKeyCurveName Class

public final class CertificateKeyCurveName
extends ExpandableStringEnum<CertificateKeyCurveName>

Elliptic curve name. For valid values, see JsonWebKeyCurveName.

Field Summary

Modifier and Type Field and Description
static final CertificateKeyCurveName P_256

The NIST P-256 elliptic curve, AKA SECG curve SECP256R1.

static final CertificateKeyCurveName P_256K

The SECG SECP256K1 elliptic curve.

static final CertificateKeyCurveName P_384

The NIST P-384 elliptic curve, AKA SECG curve SECP384R1.

static final CertificateKeyCurveName P_521

The NIST P-521 elliptic curve, AKA SECG curve SECP521R1.

Constructor Summary

Constructor Description
CertificateKeyCurveName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CertificateKeyCurveName value.

Method Summary

Modifier and Type Method and Description
static CertificateKeyCurveName fromString(String name)

Creates or finds a CertificateKeyCurveName from its string representation.

static Collection<CertificateKeyCurveName> values()

Gets known CertificateKeyCurveName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

P_256

public static final CertificateKeyCurveName P_256

The NIST P-256 elliptic curve, AKA SECG curve SECP256R1.

P_256K

public static final CertificateKeyCurveName P_256K

The SECG SECP256K1 elliptic curve.

P_384

public static final CertificateKeyCurveName P_384

The NIST P-384 elliptic curve, AKA SECG curve SECP384R1.

P_521

public static final CertificateKeyCurveName P_521

The NIST P-521 elliptic curve, AKA SECG curve SECP521R1.

Constructor Details

CertificateKeyCurveName

@Deprecated
public CertificateKeyCurveName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CertificateKeyCurveName value.

Method Details

fromString

public static CertificateKeyCurveName fromString(String name)

Creates or finds a CertificateKeyCurveName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CertificateKeyCurveName.

values

public static Collection values()

Gets known CertificateKeyCurveName values.

Returns:

known CertificateKeyCurveName values.

Applies to