Package org.bouncycastle.crypto.params
Class XDHUPrivateParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.XDHUPrivateParameters
-
- All Implemented Interfaces:
CipherParameters
public class XDHUPrivateParameters extends java.lang.Object implements CipherParameters
Parameters holder for private unified static/ephemeral agreement using Edwards Curves.
-
-
Constructor Summary
Constructors Constructor Description XDHUPrivateParameters(AsymmetricKeyParameter staticPrivateKey, AsymmetricKeyParameter ephemeralPrivateKey)
XDHUPrivateParameters(AsymmetricKeyParameter staticPrivateKey, AsymmetricKeyParameter ephemeralPrivateKey, AsymmetricKeyParameter ephemeralPublicKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsymmetricKeyParameter
getEphemeralPrivateKey()
AsymmetricKeyParameter
getEphemeralPublicKey()
AsymmetricKeyParameter
getStaticPrivateKey()
-
-
-
Constructor Detail
-
XDHUPrivateParameters
public XDHUPrivateParameters(AsymmetricKeyParameter staticPrivateKey, AsymmetricKeyParameter ephemeralPrivateKey)
-
XDHUPrivateParameters
public XDHUPrivateParameters(AsymmetricKeyParameter staticPrivateKey, AsymmetricKeyParameter ephemeralPrivateKey, AsymmetricKeyParameter ephemeralPublicKey)
-
-
Method Detail
-
getStaticPrivateKey
public AsymmetricKeyParameter getStaticPrivateKey()
-
getEphemeralPrivateKey
public AsymmetricKeyParameter getEphemeralPrivateKey()
-
getEphemeralPublicKey
public AsymmetricKeyParameter getEphemeralPublicKey()
-
-