| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final byte | |
| private final int | |
| private final int | |
| private final String | |
| private static final ParametersMap | |
| private final ObjectIdentifier | |
| private final BigInteger | |
| pack-priv static final XECParameters | |
| pack-priv static final XECParameters |
| Access | Constructor and Description |
|---|---|
| public | XECParameters(int
The number of relevant bits in a public/private key. bits, BigInteger The prime that defines the finite field. p, int The value of (a - 2) / 4, where a is the second-degree curve
coefficient. a24, byte The point that generates the desired group basePoint, int The base-2 logarithm of the cofactor of the curve logCofactor, ObjectIdentifier oid, String name)Construct an object holding the supplied parameters. |
| Modifier and Type | Method and Description |
|---|---|
| private static XECParameters | addParameters(int bits, BigInteger p, int a24, byte basePoint, int logCofactor, KnownOIDs koid, String name)
|
| public static <T extends Throwable> XECParameters | |
| public static <T extends Throwable> XECParameters | |
| public int | |
| public byte | |
| public int | |
| public static <T extends Throwable> XECParameters | |
| public int | |
| public int | |
| public String | |
| public ObjectIdentifier | |
| public BigInteger | |
| pack-priv boolean |
| a24 | back to summary |
|---|---|
| private final int a24 | |
| basePoint | back to summary |
|---|---|
| private final byte basePoint | |
| bits | back to summary |
|---|---|
| private final int bits | |
| logCofactor | back to summary |
|---|---|
| private final int logCofactor | |
| name | back to summary |
|---|---|
| private final String name | |
| namedParams | back to summary |
|---|---|
| private static final ParametersMap<XECParameters> namedParams | |
| oid | back to summary |
|---|---|
| private final ObjectIdentifier oid | |
| p | back to summary |
|---|---|
| private final BigInteger p | |
| X25519 | back to summary |
|---|---|
| pack-priv static final XECParameters X25519 | |
| X448 | back to summary |
|---|---|
| pack-priv static final XECParameters X448 | |
| XECParameters | back to summary |
|---|---|
| public XECParameters(int bits, BigInteger p, int a24, byte basePoint, int logCofactor, ObjectIdentifier oid, String name) Construct an object holding the supplied parameters. No parameters are checked, so this method always succeeds. This method supports Montgomery curves of the form y^2 = x^3 + ax^2 + x.
| |
| addParameters | back to summary |
|---|---|
| private static XECParameters addParameters(int bits, BigInteger p, int a24, byte basePoint, int logCofactor, KnownOIDs koid, String name) | |
| get | back to summary |
|---|---|
| public static <T extends Throwable> XECParameters get(Function<String, T> exception, AlgorithmId algId) throws Function:T | |
| get | back to summary |
|---|---|
| public static <T extends Throwable> XECParameters get(Function<String, T> exception, AlgorithmParameterSpec params) throws Function:T | |
| getA24 | back to summary |
|---|---|
| public int getA24() | |
| getBasePoint | back to summary |
|---|---|
| public byte getBasePoint() | |
| getBits | back to summary |
|---|---|
| public int getBits() | |
| getBySize | back to summary |
|---|---|
| public static <T extends Throwable> XECParameters getBySize(Function<String, T> exception, int size) throws Function:T | |
| getBytes | back to summary |
|---|---|
| public int getBytes() | |
| getLogCofactor | back to summary |
|---|---|
| public int getLogCofactor() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getOid | back to summary |
|---|---|
| public ObjectIdentifier getOid() | |
| getP | back to summary |
|---|---|
| public BigInteger getP() | |
| oidEquals | back to summary |
|---|---|
| pack-priv boolean oidEquals(XECParameters other) | |