Class SM2KeyExchangePrivateParameters

java.lang.Object
org.bouncycastle.crypto.params.SM2KeyExchangePrivateParameters
All Implemented Interfaces:
CipherParameters

public class SM2KeyExchangePrivateParameters extends Object implements CipherParameters
Private parameters for an SM2 key exchange. The ephemeralPrivateKey is used to calculate the random point used in the algorithm.
  • Constructor Details

  • Method Details

    • isInitiator

      public boolean isInitiator()
    • getStaticPrivateKey

      public ECPrivateKeyParameters getStaticPrivateKey()
    • getStaticPublicPoint

      public ECPoint getStaticPublicPoint()
    • getEphemeralPrivateKey

      public ECPrivateKeyParameters getEphemeralPrivateKey()
    • getEphemeralPublicPoint

      public ECPoint getEphemeralPublicPoint()