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.StringgetAlgorithm()Deprecated.return "ECMQV"byte[]getEncoded()Deprecated.returns nulljava.security.PublicKeygetEphemeralKey()Deprecated.return the ephemeral public keyjava.lang.StringgetFormat()Deprecated.return nulljava.security.PublicKeygetStaticKey()Deprecated.return the static public key
-
-
-
Method Detail
-
getStaticKey
public java.security.PublicKey getStaticKey()
Deprecated.return the static public key- Specified by:
getStaticKeyin interfaceMQVPublicKey
-
getEphemeralKey
public java.security.PublicKey getEphemeralKey()
Deprecated.return the ephemeral public key- Specified by:
getEphemeralKeyin interfaceMQVPublicKey
-
getAlgorithm
public java.lang.String getAlgorithm()
Deprecated.return "ECMQV"- Specified by:
getAlgorithmin interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
Deprecated.return null- Specified by:
getFormatin interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
Deprecated.returns null- Specified by:
getEncodedin interfacejava.security.Key
-
-