Package org.bouncycastle.crypto.params
Class SM2KeyExchangePublicParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.SM2KeyExchangePublicParameters
-
- All Implemented Interfaces:
CipherParameters
public class SM2KeyExchangePublicParameters extends java.lang.Object implements CipherParameters
Public parameters for an SM2 key exchange. In this case the ephemeralPublicKey provides the random point used in the algorithm.
-
-
Constructor Summary
Constructors Constructor Description SM2KeyExchangePublicParameters(ECPublicKeyParameters staticPublicKey, ECPublicKeyParameters ephemeralPublicKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECPublicKeyParameters
getEphemeralPublicKey()
ECPublicKeyParameters
getStaticPublicKey()
-
-
-
Constructor Detail
-
SM2KeyExchangePublicParameters
public SM2KeyExchangePublicParameters(ECPublicKeyParameters staticPublicKey, ECPublicKeyParameters ephemeralPublicKey)
-
-
Method Detail
-
getStaticPublicKey
public ECPublicKeyParameters getStaticPublicKey()
-
getEphemeralPublicKey
public ECPublicKeyParameters getEphemeralPublicKey()
-
-