org.bouncycastle.crypto.tls.ECCurveType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk14 Show documentation
Show all versions of bcprov-jdk14 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.4.
package org.bouncycastle.crypto.tls;
/**
* RFC 4492 5.4
*/
public class ECCurveType
{
/**
* Indicates the elliptic curve domain parameters are conveyed verbosely, and the
* underlying finite field is a prime field.
*/
public static final short explicit_prime = 1;
/**
* Indicates the elliptic curve domain parameters are conveyed verbosely, and the
* underlying finite field is a characteristic-2 field.
*/
public static final short explicit_char2 = 2;
/**
* Indicates that a named curve is used. This option SHOULD be used when applicable.
*/
public static final short named_curve = 3;
/*
* Values 248 through 255 are reserved for private use.
*/
}