Package org.bouncycastle.jce.spec
Class MQVPublicKeySpec
- java.lang.Object
-
- org.bouncycastle.jce.spec.MQVPublicKeySpec
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
,java.security.PublicKey
,java.security.spec.KeySpec
,MQVPublicKey
public class MQVPublicKeySpec extends java.lang.Object implements java.security.spec.KeySpec, MQVPublicKey
Deprecated.use MQVParameterSpecStatic/ephemeral public key pair for use with ECMQV key agreement- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MQVPublicKeySpec(java.security.PublicKey staticKey, java.security.PublicKey ephemeralKey)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getAlgorithm()
Deprecated.return "ECMQV"byte[]
getEncoded()
Deprecated.returns nulljava.security.PublicKey
getEphemeralKey()
Deprecated.return the ephemeral public keyjava.lang.String
getFormat()
Deprecated.return nulljava.security.PublicKey
getStaticKey()
Deprecated.return the static public key
-
-
-
Method Detail
-
getStaticKey
public java.security.PublicKey getStaticKey()
Deprecated.return the static public key- Specified by:
getStaticKey
in interfaceMQVPublicKey
-
getEphemeralKey
public java.security.PublicKey getEphemeralKey()
Deprecated.return the ephemeral public key- Specified by:
getEphemeralKey
in interfaceMQVPublicKey
-
getAlgorithm
public java.lang.String getAlgorithm()
Deprecated.return "ECMQV"- Specified by:
getAlgorithm
in interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
Deprecated.return null- Specified by:
getFormat
in interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
Deprecated.returns null- Specified by:
getEncoded
in interfacejava.security.Key
-
-