Package org.bouncycastle.crypto.params
Class SM2KeyExchangePublicParameters
java.lang.Object
org.bouncycastle.crypto.params.SM2KeyExchangePublicParameters
- All Implemented Interfaces:
CipherParameters
Public parameters for an SM2 key exchange. In this case the ephemeralPublicKey provides the random point used in the algorithm.
-
Constructor Summary
ConstructorDescriptionSM2KeyExchangePublicParameters
(ECPublicKeyParameters staticPublicKey, ECPublicKeyParameters ephemeralPublicKey) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
SM2KeyExchangePublicParameters
public SM2KeyExchangePublicParameters(ECPublicKeyParameters staticPublicKey, ECPublicKeyParameters ephemeralPublicKey)
-
-
Method Details
-
getStaticPublicKey
-
getEphemeralPublicKey
-