This class specifies a Diffie-Hellman private key with its associated parameters.
Note that this class does not perform any validation on specified parameters. Thus, the specified values are returned directly even if they are null.
This class specifies a Diffie-Hellman private key with its associated parameters. Note that this class does not perform any validation on specified parameters. Thus, the specified values are returned directly even if they are null.
(->dh-private-key-spec x p g)
Constructor.
Constructor that takes a private value x, a prime modulus p, and a base generator g.
x - private value x - java.math.BigInteger
p - prime modulus p - java.math.BigInteger
g - base generator g - java.math.BigInteger
Constructor. Constructor that takes a private value x, a prime modulus p, and a base generator g. x - private value x - `java.math.BigInteger` p - prime modulus p - `java.math.BigInteger` g - base generator g - `java.math.BigInteger`
(get-g this)
Returns the base generator g.
returns: the base generator g - java.math.BigInteger
Returns the base generator g. returns: the base generator g - `java.math.BigInteger`
(get-p this)
Returns the prime modulus p.
returns: the prime modulus p - java.math.BigInteger
Returns the prime modulus p. returns: the prime modulus p - `java.math.BigInteger`
(get-x this)
Returns the private value x.
returns: the private value x - java.math.BigInteger
Returns the private value x. returns: the private value x - `java.math.BigInteger`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close