Top Description Fields Constructors Methods
org.bouncycastle.jcajce.spec

public Class XDHParameterSpec

extends Object
implements AlgorithmParameterSpec
Class Inheritance
All Implemented Interfaces
java.security.spec.AlgorithmParameterSpec
Imports
java.security.spec.AlgorithmParameterSpec, org.bouncycastle.asn1.edec.EdECObjectIdentifiers

ParameterSpec for XDH key agreement algorithms.

Field Summary

Modifier and TypeField and Description
private final String
public static final String
public static final String

Constructor Summary

AccessConstructor and Description
public
XDHParameterSpec(String
name of the curve to specify.
curveName
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name of the curve this parameterSpec specifies.
getCurveName
()

Return the curve name specified by this parameterSpec.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

curveNameback to summary
private final String curveName
X25519back to summary
public static final String X25519
X448back to summary
public static final String X448

Constructor Detail

XDHParameterSpecback to summary
public XDHParameterSpec(String curveName)

Base constructor.

Parameters
curveName:String

name of the curve to specify.

Method Detail

getCurveNameback to summary
public String getCurveName()

Return the curve name specified by this parameterSpec.

Returns:String

the name of the curve this parameterSpec specifies.