This class specifies a Diffie-Hellman public 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 public 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-public-key-spec y p g)
Constructor.
Constructor that takes a public value y, a prime modulus p, and a base generator g.
y - public value y - java.math.BigInteger
p - prime modulus p - java.math.BigInteger
g - base generator g - java.math.BigInteger
Constructor. Constructor that takes a public value y, a prime modulus p, and a base generator g. y - public value y - `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-y this)
Returns the public value y.
returns: the public value y - java.math.BigInteger
Returns the public value y. returns: the public value y - `java.math.BigInteger`
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |