Package org.bouncycastle.jcajce.spec
Class SM2KeyExchangeSpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.SM2KeyExchangeSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class SM2KeyExchangeSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec
-
-
Constructor Summary
Constructors Constructor Description SM2KeyExchangeSpec(boolean initiator, java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey, byte[] id, byte[] otherPartyId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.PrivateKeygetEphemeralPrivateKey()byte[]getId()java.security.PublicKeygetOtherPartyEphemeralKey()byte[]getOtherPartyId()booleanisInitiator()
-