org.bouncycastle.jce.spec
Class MQVPublicKeySpec
java.lang.Object
|
+--org.bouncycastle.jce.spec.MQVPublicKeySpec
- All Implemented Interfaces:
- java.security.Key, java.security.spec.KeySpec, MQVPublicKey, java.security.PublicKey, java.io.Serializable
Deprecated. use MQVParameterSpec
- public class MQVPublicKeySpec
- extends java.lang.Object
- implements java.security.spec.KeySpec, MQVPublicKey
Static/ephemeral public key pair for use with ECMQV key agreement
- See Also:
- Serialized Form
Fields inherited from interface java.security.PublicKey |
serialVersionUID |
Constructor Summary |
MQVPublicKeySpec(java.security.PublicKey staticKey,
java.security.PublicKey ephemeralKey)
Deprecated. |
Method Summary |
java.lang.String |
getAlgorithm()
Deprecated. return "ECMQV" |
byte[] |
getEncoded()
Deprecated. returns null |
java.security.PublicKey |
getEphemeralKey()
Deprecated. return the ephemeral public key |
java.lang.String |
getFormat()
Deprecated. return null |
java.security.PublicKey |
getStaticKey()
Deprecated. return the static public key |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MQVPublicKeySpec
public MQVPublicKeySpec(java.security.PublicKey staticKey,
java.security.PublicKey ephemeralKey)
- Deprecated.
- Parameters:
staticKey
- the static public key.ephemeralKey
- the ephemeral public key.
getStaticKey
public java.security.PublicKey getStaticKey()
- Deprecated.
- return the static public key
- Specified by:
getStaticKey
in interface MQVPublicKey
getEphemeralKey
public java.security.PublicKey getEphemeralKey()
- Deprecated.
- return the ephemeral public key
- Specified by:
getEphemeralKey
in interface MQVPublicKey
getAlgorithm
public java.lang.String getAlgorithm()
- Deprecated.
- return "ECMQV"
- Specified by:
getAlgorithm
in interface java.security.Key
getFormat
public java.lang.String getFormat()
- Deprecated.
- return null
- Specified by:
getFormat
in interface java.security.Key
getEncoded
public byte[] getEncoded()
- Deprecated.
- returns null
- Specified by:
getEncoded
in interface java.security.Key