Liking cljdoc? Tell your friends :D

javax.crypto.spec.DHGenParameterSpec

This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement. This is typically done by a central authority.

The central authority, after computing the parameters, must send this information to the parties looking to agree on a secret key.

This class specifies the set of parameters used for generating
Diffie-Hellman (system) parameters for use in Diffie-Hellman key
agreement. This is typically done by a central
authority.

 The central authority, after computing the parameters, must send this
information to the parties looking to agree on a secret key.
raw docstring

->dh-gen-parameter-specclj

(->dh-gen-parameter-spec prime-size exponent-size)

Constructor.

Constructs a parameter set for the generation of Diffie-Hellman (system) parameters. The constructed parameter set can be used to initialize an AlgorithmParameterGenerator object for the generation of Diffie-Hellman parameters.

prime-size - the size (in bits) of the prime modulus. - int exponent-size - the size (in bits) of the random exponent. - int

Constructor.

Constructs a parameter set for the generation of Diffie-Hellman
 (system) parameters. The constructed parameter set can be used to
 initialize an
 AlgorithmParameterGenerator
 object for the generation of Diffie-Hellman parameters.

prime-size - the size (in bits) of the prime modulus. - `int`
exponent-size - the size (in bits) of the random exponent. - `int`
raw docstring

get-exponent-sizeclj

(get-exponent-size this)

Returns the size in bits of the random exponent (private value).

returns: the size in bits of the random exponent (private value) - int

Returns the size in bits of the random exponent (private value).

returns: the size in bits of the random exponent (private value) - `int`
raw docstring

get-prime-sizeclj

(get-prime-size this)

Returns the size in bits of the prime modulus.

returns: the size in bits of the prime modulus - int

Returns the size in bits of the prime modulus.

returns: the size in bits of the prime modulus - `int`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close