| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static enum | ECCurves.
The various |
| Modifier and Type | Field and Description |
|---|---|
| public static final Comparator | |
| private final DigestFactory | |
| public static final NavigableSet | |
| private final int | |
| private final String | |
| private final String | name
Hides java. |
| public static final NavigableSet | |
| public static final ECCurves | |
| public static final ECCurves | |
| public static final ECCurves | |
| private final int | |
| private final String | |
| private final List | |
| private final ECParameterSpec | |
| public static final List | |
| public static final Set |
| Access | Constructor and Description |
|---|---|
| private | ECCurves(String name, int[] oid, ECParameterSpec params, int numOctets, DigestFactory digestFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | |
| public static byte[] | |
| private static int | |
| public static ECCurves | |
| public static ECCurves | |
| public static ECCurves | |
| public static ECCurves | |
| public static ECCurves | |
| public static ECCurves | |
| public static ECCurves | |
| public static int | Returns: The curve's key size in bitsThe curve's params)ECParameterSpec
|
| public final Digest | |
| public final int | |
| public final String | |
| public final String | |
| public final int | |
| public final String | |
| public final List | |
| public final ECParameterSpec | |
| public final boolean | |
| public static ECPoint | |
| public static BigInteger | Returns: TheBigInteger representation of the octet string- octet string bytes to be converted octets)Converts the given octet string (defined by ASN.1 specifications) to a |
| private static byte[] | |
| public static ECCurves | |
| public static ECCurves[] |
| BY_KEY_SIZE | back to summary |
|---|---|
| public static final Comparator<ECCurves> BY_KEY_SIZE | |
| digestFactory | back to summary |
|---|---|
| private final DigestFactory digestFactory | |
| KEY_TYPES | back to summary |
|---|---|
| public static final NavigableSet<String> KEY_TYPES A | |
| keySize | back to summary |
|---|---|
| private final int keySize | |
| keyType | back to summary |
|---|---|
| private final String keyType | |
| name | back to summary |
|---|---|
| private final String name Hides java. | |
| NAMES | back to summary |
|---|---|
| public static final NavigableSet<String> NAMES A | |
| nistp256 | back to summary |
|---|---|
| public static final ECCurves nistp256 | |
| nistp384 | back to summary |
|---|---|
| public static final ECCurves nistp384 | |
| nistp521 | back to summary |
|---|---|
| public static final ECCurves nistp521 | |
| numOctets | back to summary |
|---|---|
| private final int numOctets | |
| oidString | back to summary |
|---|---|
| private final String oidString | |
| oidValue | back to summary |
|---|---|
| private final List<Integer> oidValue | |
| params | back to summary |
|---|---|
| private final ECParameterSpec params | |
| SORTED_KEY_SIZE | back to summary |
|---|---|
| public static final List<ECCurves> SORTED_KEY_SIZE | |
| VALUES | back to summary |
|---|---|
| public static final Set<ECCurves> VALUES A | |
| ECCurves | back to summary |
|---|---|
| private ECCurves(String name, int[] oid, ECParameterSpec params, int numOctets, DigestFactory digestFactory) | |
| encodeECPoint | back to summary |
|---|---|
| public static byte[] encodeECPoint(ECPoint group, ECParameterSpec params) | |
| encodeECPoint | back to summary |
|---|---|
| public static byte[] encodeECPoint(ECPoint group, EllipticCurve curve) | |
| findFirstNonZeroIndex | back to summary |
|---|---|
| private static int findFirstNonZeroIndex(byte... octets) | |
| fromCurveName | back to summary |
|---|---|
| public static ECCurves fromCurveName(String name) | |
| fromCurveParameters | back to summary |
|---|---|
public static ECCurves fromCurveParameters(ECParameterSpec params)
| |
| fromCurveSize | back to summary |
|---|---|
| public static ECCurves fromCurveSize(int keySize) | |
| fromECKey | back to summary |
|---|---|
| public static ECCurves fromECKey(ECKey key) | |
| fromKeyType | back to summary |
|---|---|
| public static ECCurves fromKeyType(String type) | |
| fromOID | back to summary |
|---|---|
| public static ECCurves fromOID(String oid) | |
| fromOIDValue | back to summary |
|---|---|
| public static ECCurves fromOIDValue(List<? extends Number> oid) | |
| getCurveSize | back to summary |
|---|---|
public static int getCurveSize(ECParameterSpec params)
| |
| getDigestForParams | back to summary |
|---|---|
| public final Digest getDigestForParams() | |
| getKeySize | back to summary |
|---|---|
| public final int getKeySize() Implements org.
| |
| getKeyType | back to summary |
|---|---|
| public final String getKeyType() Implements org.
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements org.
| |
| getNumPointOctets | back to summary |
|---|---|
public final int getNumPointOctets()
| |
| getOID | back to summary |
|---|---|
| public final String getOID() | |
| getOIDValue | back to summary |
|---|---|
| public final List | |
| getParameters | back to summary |
|---|---|
| public final ECParameterSpec getParameters() | |
| isSupported | back to summary |
|---|---|
| public final boolean isSupported() Implements org.
| |
| octetStringToEcPoint | back to summary |
|---|---|
| public static ECPoint octetStringToEcPoint(byte... octets) | |
| octetStringToInteger | back to summary |
|---|---|
| public static BigInteger octetStringToInteger(byte... octets) Converts the given octet string (defined by ASN.1 specifications) to a
| |
| removeLeadingZeroes | back to summary |
|---|---|
| private static byte[] removeLeadingZeroes(byte[] input) | |
| valueOf | back to summary |
|---|---|
| public static ECCurves valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ECCurves[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ECDSA_SHA2_PREFIX
Standard prefix of NISTP key types when encoded |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| ECDSA_SHA2_PREFIX | back to summary |
|---|---|
| public static final String ECDSA_SHA2_PREFIX Standard prefix of NISTP key types when encoded | |
| NISTP256 | back to summary |
|---|---|
| public static final String NISTP256 | |
| NISTP384 | back to summary |
|---|---|
| public static final String NISTP384 | |
| NISTP521 | back to summary |
|---|---|
| public static final String NISTP521 | |
| Constants | back to summary |
|---|---|
| private Constants() | |
ECPoint representation compression indicators
| Modifier and Type | Field and Description |
|---|---|
| private final byte | |
| public static final ECCurves. | |
| public static final Set | |
| public static final ECCurves. | |
| public static final ECCurves. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public static ECCurves. | |
| public final byte | |
| public abstract ECPoint | |
| public static ECCurves. | |
| public static ECCurves. | |
| protected void | |
| public void |
| indicatorValue | back to summary |
|---|---|
| private final byte indicatorValue | |
| UNCOMPRESSED | back to summary |
|---|---|
| public static final ECCurves. | |
| VALUES | back to summary |
|---|---|
| public static final Set<ECCurves. | |
| VARIANT2 | back to summary |
|---|---|
| public static final ECCurves. | |
| VARIANT3 | back to summary |
|---|---|
| public static final ECCurves. | |
| ECPointCompression | back to summary |
|---|---|
| private ECPointCompression(byte indicator) | |
| ecPointToOctetString | back to summary |
|---|---|
| public byte[] ecPointToOctetString(String curveName, ECPoint p) | |
| fromIndicatorValue | back to summary |
|---|---|
| public static ECCurves. | |
| getIndicatorValue | back to summary |
|---|---|
| public final byte getIndicatorValue() | |
| octetStringToEcPoint | back to summary |
|---|---|
| public abstract ECPoint octetStringToEcPoint(byte[] octets, int startIndex, int len) | |
| valueOf | back to summary |
|---|---|
| public static ECCurves. | |
| values | back to summary |
|---|---|
| public static ECCurves. | |
| writeCoordinate | back to summary |
|---|---|
| protected void writeCoordinate(OutputStream s, String n, BigInteger v, int numElements) throws IOException | |
| writeECPoint | back to summary |
|---|---|
| public void writeECPoint(OutputStream s, String curveName, ECPoint p) throws IOException | |