Package | Description |
---|---|
iaik.security.ec.common | |
iaik.security.ec.ecdh |
Modifier and Type | Class and Description |
---|---|
class |
EdParameterSpec
This parameter class is intended for use with EdDSA (with twisted Edwards
curves) and ECDH (with Montgomery curves).
|
Modifier and Type | Field and Description |
---|---|
protected ECParameterSpec |
AbstractECPublicKey.params_
Domain parameters of the elliptic curve
|
protected ECParameterSpec |
AbstractECPrivateKey.params_ |
Modifier and Type | Method and Description |
---|---|
ECParameterSpec |
ECParameterSpec.clone()
Creates a clone of this ECParameterSpec.
|
static ECParameterSpec |
ECParameterSpec.decode(iaik.asn1.ASN1Object parameters)
Creates a new
ECParameterSpec object from the specified ASN.1
structure. |
static ECParameterSpec |
ECStandardizedParameterFactory.getBinaryCurveParametersByBitLength(int bitlength)
Returns a standardized binary elliptic curve for a given bitlength.
|
static ECParameterSpec |
ECStandardizedParameterFactory.getBinaryCurveParametersByBitLength(int bitlength,
BinaryCurveCoordinateTypes type)
Returns a standardized binary elliptic curve for a given bitlength.
|
static ECParameterSpec |
ECStandardizedParameterFactory.getParameters(ECGenParameterSpec params)
Returns a standardized elliptic curve for a given parameter spec holding a
standard name.
|
static ECParameterSpec |
ECStandardizedParameterFactory.getParametersByBitLength(int bitlength)
Returns a standardized elliptic curve (either prime or binary) for a given
bitlength.
|
static ECParameterSpec |
ECStandardizedParameterFactory.getParametersByName(String name)
Returns a standardized elliptic curve for a given standard name.
|
static ECParameterSpec |
ECStandardizedParameterFactory.getParametersByOID(String oid)
Returns a standardized elliptic curve for a given OID.
|
static ECParameterSpec |
ECParameterSpec.getParameterSpec(ECParameterSpec params)
Returns a new
ECParameterSpec instance. |
static ECParameterSpec |
ECParameterSpec.getParameterSpec(EllipticCurve curve,
ECPoint g,
BigInteger order,
int h,
iaik.asn1.structures.AlgorithmID hashAlgorithm,
String oid)
Returns a new
ECParameterSpec instance. |
ECParameterSpec |
ECPublicKeySpec.getParams() |
ECParameterSpec |
ECKey.getParams()
Returns the domain parameters of the associated elliptic curve.
|
ECParameterSpec |
ECPrivateKeySpec.getParams() |
ECParameterSpec |
AbstractECPublicKey.getParams() |
ECParameterSpec |
AbstractECPrivateKey.getParams() |
static ECParameterSpec |
ECStandardizedParameterFactory.getPrimeCurveParametersByBitLength(int bitlength)
Returns a standardized prime elliptic curve for a given bitlength.
|
static ECParameterSpec |
ECStandardizedParameterFactory.getPrimeCurveParametersByBitLength(int bitlength,
PrimeCurveCoordinateTypes type)
Returns a standardized prime elliptic curve for a given bitlength.
|
protected abstract ECParameterSpec |
KeyEncodingTestHelper.getSpec() |
protected ECParameterSpec |
TestECKeyEncoding.getSpec() |
protected ECParameterSpec |
TestEdKeyEncoding.getSpec() |
Modifier and Type | Method and Description |
---|---|
static String |
ECStandardizedParameterFactory.getName(ECParameterSpec params)
Returns the curve name for given curve parameters.
|
static String |
ECStandardizedParameterFactory.getOID(ECParameterSpec params)
Returns the curve OID for given curve parameters.
|
Constructor and Description |
---|
AbstractECPrivateKey(ECParameterSpec params,
BigInteger s)
Constructs a new private key from a set of curve parameters and a secret
integer
s . |
AbstractECPrivateKey(ECParameterSpec params,
BigInteger s,
ECPoint publicKey)
Creates a new private key with the specified parameters.
|
AbstractECPublicKey(ECParameterSpec params,
ECPoint w)
Creates a new public key object.
|
AbstractECPublicKey(ECParameterSpec params,
ECPoint w,
boolean check)
Creates a new public key object.
|
ECPrivateKey(ECParameterSpec params,
BigInteger s)
Constructs a new
ECPrivateKey from a set of curve parameters and a
secret integer s . |
ECPrivateKey(ECParameterSpec params,
BigInteger s,
ECPoint publicKey)
Creates a new private key with the specified parameters.
|
ECPrivateKeySpec(BigInteger s,
ECParameterSpec params)
Constructs a new instance.
|
ECPublicKey(ECParameterSpec params,
ECPoint w)
Creates a new public key object.
|
ECPublicKeySpec(ECPoint w,
ECParameterSpec params)
Constructs a new instance.
|
EdParameterSpec(String name,
String oid,
ECParameterSpec ecParams,
int keySize,
iaik.asn1.structures.AlgorithmID hashAlgorithm) |
Modifier and Type | Class and Description |
---|---|
class |
ECDHParameterSpec
This parameter class is intended for use with ECDH.
|
class |
EdDHParameterSpec
This parameter class is intended for use with X25519 and X448.
|
Constructor and Description |
---|
ECDHParameterSpec(ECParameterSpec ecParams)
Creates a new parameter spec object without KDF parameters.
|
ECDHParameterSpec(ECParameterSpec ecParams,
KDFParameterSpec kdfParams)
Creates a new parameter spec object.
|
Copyright © 2011–2022 Stiftung SIC. All rights reserved.