|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.jce.spec.MQVPrivateKeySpec
public class MQVPrivateKeySpec
Static/ephemeral private key (pair) for use with ECMQV key agreement (Optionally provides the ephemeral public key)
| Field Summary |
|---|
| Fields inherited from interface java.security.PrivateKey |
|---|
serialVersionUID |
| Constructor Summary | |
|---|---|
MQVPrivateKeySpec(java.security.PrivateKey staticPrivateKey,
java.security.PrivateKey ephemeralPrivateKey)
|
|
MQVPrivateKeySpec(java.security.PrivateKey staticPrivateKey,
java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey ephemeralPublicKey)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAlgorithm()
return "ECMQV" |
byte[] |
getEncoded()
returns null |
java.security.PrivateKey |
getEphemeralPrivateKey()
return the ephemeral private key |
java.security.PublicKey |
getEphemeralPublicKey()
return the ephemeral public key (may be null) |
java.lang.String |
getFormat()
return null |
java.security.PrivateKey |
getStaticPrivateKey()
return the static private key |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MQVPrivateKeySpec(java.security.PrivateKey staticPrivateKey,
java.security.PrivateKey ephemeralPrivateKey)
staticPrivateKey - the static private key.ephemeralPrivateKey - the ephemeral private key.
public MQVPrivateKeySpec(java.security.PrivateKey staticPrivateKey,
java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey ephemeralPublicKey)
staticPrivateKey - the static private key.ephemeralPrivateKey - the ephemeral private key.ephemeralPublicKey - the ephemeral public key (may be null).| Method Detail |
|---|
public java.security.PrivateKey getStaticPrivateKey()
getStaticPrivateKey in interface MQVPrivateKeypublic java.security.PrivateKey getEphemeralPrivateKey()
getEphemeralPrivateKey in interface MQVPrivateKeypublic java.security.PublicKey getEphemeralPublicKey()
getEphemeralPublicKey in interface MQVPrivateKeypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Key
|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||