public final class ECDHParameterSpec extends ECParameterSpec
ECParameterSpec
,
ECDHKeyAgreement
,
ECDHWithCofactorKeyAgreement
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
KDFParameterSpec |
getKDFParams()
Returns the KDF parameters.
|
int |
hashCode() |
clone, decode, getCurve, getEndomorphismAux0, getEndomorphismAux1, getHashAlgorithmID, getOID, getParameterSpec, getParameterSpec, setDefaultOIDEncoding, toASN1Object, toString, usesDefaultOIDEncoding
getCofactor, getGenerator, getOrder
public ECDHParameterSpec(ECParameterSpec ecParams, KDFParameterSpec kdfParams)
ecParams
- the elliptic curve domain parameterskdfParams
- the KDF parameterspublic ECDHParameterSpec(ECParameterSpec ecParams)
ecParams
- the elliptic curve domain parameterspublic KDFParameterSpec getKDFParams()
null
otherwise.public boolean equals(Object obj)
equals
in class ECParameterSpec
public int hashCode()
hashCode
in class ECParameterSpec
Copyright © 2011–2022 Stiftung SIC. All rights reserved.