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 |
SM2KeyExchangeSpec(boolean initiator,
java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey,
byte[] id,
byte[] otherPartyId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SM2KeyExchangeSpec
public SM2KeyExchangeSpec(boolean initiator,
java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey,
byte[] id,
byte[] otherPartyId)
getEphemeralPrivateKey
public java.security.PrivateKey getEphemeralPrivateKey()
getOtherPartyEphemeralKey
public java.security.PublicKey getOtherPartyEphemeralKey()
getId
public byte[] getId()
getOtherPartyId
public byte[] getOtherPartyId()
isInitiator
public boolean isInitiator()