Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.spec
Class XDHParameterSpec

java.lang.Object
  |
  +--org.bouncycastle.jcajce.spec.XDHParameterSpec
All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec

public class XDHParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec

ParameterSpec for XDH key agreement algorithms.


Field Summary
static java.lang.String X25519
           
static java.lang.String X448
           
 
Constructor Summary
XDHParameterSpec(java.lang.String curveName)
          Base constructor.
 
Method Summary
 java.lang.String getCurveName()
          Return the curve name specified by this parameterSpec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X25519

public static final java.lang.String X25519

X448

public static final java.lang.String X448
Constructor Detail

XDHParameterSpec

public XDHParameterSpec(java.lang.String curveName)
Base constructor.
Parameters:
curveName - name of the curve to specify.
Method Detail

getCurveName

public java.lang.String getCurveName()
Return the curve name specified by this parameterSpec.
Returns:
the name of the curve this parameterSpec specifies.

Bouncy Castle Cryptography Library 1.77.0