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

public Class DHExtendedPrivateKeySpec

extends DHPrivateKeySpec
Class Inheritance
Imports
java.math.BigInteger, javax.crypto.spec.DHParameterSpec, .DHPrivateKeySpec

A DHPrivateKeySpec that also carries a set of DH domain parameters.

Field Summary

Modifier and TypeField and Description
private final DHParameterSpec

Constructor Summary

AccessConstructor and Description
public
DHExtendedPrivateKeySpec(BigInteger
the private value.
x
,
DHParameterSpec
the domain parameter set.
params
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public DHParameterSpec

Returns:

the Diffie-Hellman domain parameters.
getParams
()

Return the domain parameters associated with this key spec.

Inherited from javax.crypto.spec.DHPrivateKeySpec:
getGgetPgetX

Field Detail

paramsback to summary
private final DHParameterSpec params

Constructor Detail

DHExtendedPrivateKeySpecback to summary
public DHExtendedPrivateKeySpec(BigInteger x, DHParameterSpec params)

Base constructor.

Parameters
x:BigInteger

the private value.

params:DHParameterSpec

the domain parameter set.

Method Detail

getParamsback to summary
public DHParameterSpec getParams()

Return the domain parameters associated with this key spec.

Returns:DHParameterSpec

the Diffie-Hellman domain parameters.