Class MQVPublicKeySpec

java.lang.Object
org.bouncycastle.jce.spec.MQVPublicKeySpec
All Implemented Interfaces:
Serializable, Key, PublicKey, KeySpec, MQVPublicKey

public class MQVPublicKeySpec extends Object implements KeySpec, MQVPublicKey
Deprecated.
use MQVParameterSpec
Static/ephemeral public key pair for use with ECMQV key agreement
See Also:
  • Constructor Details

    • MQVPublicKeySpec

      public MQVPublicKeySpec(PublicKey staticKey, PublicKey ephemeralKey)
      Deprecated.
      Parameters:
      staticKey - the static public key.
      ephemeralKey - the ephemeral public key.
  • Method Details

    • getStaticKey

      public PublicKey getStaticKey()
      Deprecated.
      return the static public key
      Specified by:
      getStaticKey in interface MQVPublicKey
    • getEphemeralKey

      public PublicKey getEphemeralKey()
      Deprecated.
      return the ephemeral public key
      Specified by:
      getEphemeralKey in interface MQVPublicKey
    • getAlgorithm

      public String getAlgorithm()
      Deprecated.
      return "ECMQV"
      Specified by:
      getAlgorithm in interface Key
    • getFormat

      public String getFormat()
      Deprecated.
      return null
      Specified by:
      getFormat in interface Key
    • getEncoded

      public byte[] getEncoded()
      Deprecated.
      returns null
      Specified by:
      getEncoded in interface Key