Bouncy Castle Cryptography Library 1.84

org.bouncycastle.jcajce.spec
Class SM2KeyExchangeSpec

java.lang.Object
  extended byorg.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)
           
 
Method Summary
 java.security.PrivateKey getEphemeralPrivateKey()
           
 byte[] getId()
           
 java.security.PublicKey getOtherPartyEphemeralKey()
           
 byte[] getOtherPartyId()
           
 boolean isInitiator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SM2KeyExchangeSpec

public SM2KeyExchangeSpec(boolean initiator,
                          java.security.PrivateKey ephemeralPrivateKey,
                          java.security.PublicKey otherPartyEphemeralKey,
                          byte[] id,
                          byte[] otherPartyId)
Method Detail

getEphemeralPrivateKey

public java.security.PrivateKey getEphemeralPrivateKey()

getOtherPartyEphemeralKey

public java.security.PublicKey getOtherPartyEphemeralKey()

getId

public byte[] getId()

getOtherPartyId

public byte[] getOtherPartyId()

isInitiator

public boolean isInitiator()

Bouncy Castle Cryptography Library 1.84