Package org.bouncycastle.jce.spec
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 MQVParameterSpecStatic/ephemeral public key pair for use with ECMQV key agreement- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface java.security.PublicKey
serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description MQVPublicKeySpec(PublicKey staticKey, PublicKey ephemeralKey)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAlgorithm()
Deprecated.return "ECMQV"byte[]
getEncoded()
Deprecated.returns nullPublicKey
getEphemeralKey()
Deprecated.return the ephemeral public keyString
getFormat()
Deprecated.return nullPublicKey
getStaticKey()
Deprecated.return the static public key
-
-
-
Method Detail
-
getStaticKey
public PublicKey getStaticKey()
Deprecated.return the static public key- Specified by:
getStaticKey
in interfaceMQVPublicKey
-
getEphemeralKey
public PublicKey getEphemeralKey()
Deprecated.return the ephemeral public key- Specified by:
getEphemeralKey
in interfaceMQVPublicKey
-
getAlgorithm
public String getAlgorithm()
Deprecated.return "ECMQV"- Specified by:
getAlgorithm
in interfaceKey
-
getFormat
public String getFormat()
Deprecated.return null
-
getEncoded
public byte[] getEncoded()
Deprecated.returns null- Specified by:
getEncoded
in interfaceKey
-
-