Package org.bouncycastle.jcajce.spec
Class MQVParameterSpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.MQVParameterSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class MQVParameterSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec
Parameter spec to provide MQV ephemeral keys and user keying material.
-
-
Constructor Summary
Constructors Constructor Description MQVParameterSpec(java.security.KeyPair ephemeralKeyPair, java.security.PublicKey otherPartyEphemeralKey)
MQVParameterSpec(java.security.KeyPair ephemeralKeyPair, java.security.PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial)
MQVParameterSpec(java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey)
MQVParameterSpec(java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial)
MQVParameterSpec(java.security.PublicKey ephemeralPublicKey, java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey)
MQVParameterSpec(java.security.PublicKey ephemeralPublicKey, java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.PrivateKey
getEphemeralPrivateKey()
java.security.PublicKey
getEphemeralPublicKey()
java.security.PublicKey
getOtherPartyEphemeralKey()
byte[]
getUserKeyingMaterial()
-
-
-
Constructor Detail
-
MQVParameterSpec
public MQVParameterSpec(java.security.PublicKey ephemeralPublicKey, java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial)
-
MQVParameterSpec
public MQVParameterSpec(java.security.PublicKey ephemeralPublicKey, java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey)
-
MQVParameterSpec
public MQVParameterSpec(java.security.KeyPair ephemeralKeyPair, java.security.PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial)
-
MQVParameterSpec
public MQVParameterSpec(java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial)
-
MQVParameterSpec
public MQVParameterSpec(java.security.KeyPair ephemeralKeyPair, java.security.PublicKey otherPartyEphemeralKey)
-
MQVParameterSpec
public MQVParameterSpec(java.security.PrivateKey ephemeralPrivateKey, java.security.PublicKey otherPartyEphemeralKey)
-
-
Method Detail
-
getEphemeralPrivateKey
public java.security.PrivateKey getEphemeralPrivateKey()
-
getEphemeralPublicKey
public java.security.PublicKey getEphemeralPublicKey()
-
getOtherPartyEphemeralKey
public java.security.PublicKey getOtherPartyEphemeralKey()
-
getUserKeyingMaterial
public byte[] getUserKeyingMaterial()
-
-