Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jce.interfaces
Interface MQVPrivateKey

All Superinterfaces:
java.security.Key, java.security.PrivateKey, java.io.Serializable

Deprecated. use MQVParameterSpec for passing the ephemeral key.

public interface MQVPrivateKey
extends java.security.PrivateKey

Static/ephemeral private key (pair) for use with ECMQV key agreement (Optionally provides the ephemeral public key)


Fields inherited from interface java.security.PrivateKey
serialVersionUID
 
Method Summary
 java.security.PrivateKey getEphemeralPrivateKey()
          Deprecated. return the ephemeral private key.
 java.security.PublicKey getEphemeralPublicKey()
          Deprecated. return the ephemeral public key (may be null).
 java.security.PrivateKey getStaticPrivateKey()
          Deprecated. return the static private key.
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Method Detail

getStaticPrivateKey

public java.security.PrivateKey getStaticPrivateKey()
Deprecated. 
return the static private key.

getEphemeralPrivateKey

public java.security.PrivateKey getEphemeralPrivateKey()
Deprecated. 
return the ephemeral private key.

getEphemeralPublicKey

public java.security.PublicKey getEphemeralPublicKey()
Deprecated. 
return the ephemeral public key (may be null).

Bouncy Castle Cryptography Library 1.77.0