public class

MQVPublicKeySpec

extends Object
implements KeySpec MQVPublicKey
java.lang.Object
   ↳ org.bouncycastle.jce.spec.MQVPublicKeySpec

Class Overview

Static/ephemeral public key pair for use with ECMQV key agreement

Summary

[Expand]
Inherited Constants
From interface java.security.Key
From interface java.security.PublicKey
Public Constructors
MQVPublicKeySpec(PublicKey staticKey, PublicKey ephemeralKey)
Public Methods
String getAlgorithm()
return "ECMQV"
byte[] getEncoded()
returns null
PublicKey getEphemeralKey()
return the ephemeral public key
String getFormat()
return null
PublicKey getStaticKey()
return the static public key
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.Key
From interface org.bouncycastle.jce.interfaces.MQVPublicKey

Public Constructors

public MQVPublicKeySpec (PublicKey staticKey, PublicKey ephemeralKey)

Parameters
staticKey the static public key.
ephemeralKey the ephemeral public key.

Public Methods

public String getAlgorithm ()

return "ECMQV"

public byte[] getEncoded ()

returns null

public PublicKey getEphemeralKey ()

return the ephemeral public key

public String getFormat ()

return null

public PublicKey getStaticKey ()

return the static public key