public class MQVPrivateKeySpec extends Object implements KeySpec, MQVPrivateKey
serialVersionUID| Constructor and Description |
|---|
MQVPrivateKeySpec(PrivateKey staticPrivateKey,
PrivateKey ephemeralPrivateKey) |
MQVPrivateKeySpec(PrivateKey staticPrivateKey,
PrivateKey ephemeralPrivateKey,
PublicKey ephemeralPublicKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
return "ECMQV"
|
byte[] |
getEncoded()
returns null
|
PrivateKey |
getEphemeralPrivateKey()
return the ephemeral private key
|
PublicKey |
getEphemeralPublicKey()
return the ephemeral public key (may be null)
|
String |
getFormat()
return null
|
PrivateKey |
getStaticPrivateKey()
return the static private key
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedpublic MQVPrivateKeySpec(PrivateKey staticPrivateKey, PrivateKey ephemeralPrivateKey)
staticPrivateKey - the static private key.ephemeralPrivateKey - the ephemeral private key.public MQVPrivateKeySpec(PrivateKey staticPrivateKey, PrivateKey ephemeralPrivateKey, PublicKey ephemeralPublicKey)
staticPrivateKey - the static private key.ephemeralPrivateKey - the ephemeral private key.ephemeralPublicKey - the ephemeral public key (may be null).public PrivateKey getStaticPrivateKey()
getStaticPrivateKey in interface MQVPrivateKeypublic PrivateKey getEphemeralPrivateKey()
getEphemeralPrivateKey in interface MQVPrivateKeypublic PublicKey getEphemeralPublicKey()
getEphemeralPublicKey in interface MQVPrivateKeypublic String getAlgorithm()
getAlgorithm in interface Keypublic byte[] getEncoded()
getEncoded in interface KeyCopyright © 2015. All rights reserved.