This immutable class specifies the set of parameters used for generating DSA parameters as specified in FIPS 186-3 Digital Signature Standard (DSS).
This immutable class specifies the set of parameters used for generating DSA parameters as specified in FIPS 186-3 Digital Signature Standard (DSS).
(->dsa-gen-parameter-spec prime-p-len subprime-q-len)
(->dsa-gen-parameter-spec prime-p-len subprime-q-len seed-len)
Constructor.
Creates a domain parameter specification for DSA parameter generation using primePLen, subprimeQLen, and seedLen.
prime-p-len - the desired length of the prime P in bits. - int
subprime-q-len - the desired length of the sub-prime Q in bits. - int
seed-len - the desired length of the domain parameter seed in bits, shall be equal to or greater than subprimeQLen. - int
throws: java.lang.IllegalArgumentException - if primePLenLen, subprimeQLen, or seedLen is illegal per the specification of FIPS 186-3.
Constructor. Creates a domain parameter specification for DSA parameter generation using primePLen, subprimeQLen, and seedLen. prime-p-len - the desired length of the prime P in bits. - `int` subprime-q-len - the desired length of the sub-prime Q in bits. - `int` seed-len - the desired length of the domain parameter seed in bits, shall be equal to or greater than subprimeQLen. - `int` throws: java.lang.IllegalArgumentException - if primePLenLen, subprimeQLen, or seedLen is illegal per the specification of FIPS 186-3.
(get-prime-p-length this)
Returns the desired length of the prime P of the to-be-generated DSA domain parameters in bits.
returns: the length of the prime P. - int
Returns the desired length of the prime P of the to-be-generated DSA domain parameters in bits. returns: the length of the prime P. - `int`
(get-seed-length this)
Returns the desired length of the domain parameter seed in bits.
returns: the length of the domain parameter seed. - int
Returns the desired length of the domain parameter seed in bits. returns: the length of the domain parameter seed. - `int`
(get-subprime-q-length this)
Returns the desired length of the sub-prime Q of the to-be-generated DSA domain parameters in bits.
returns: the length of the sub-prime Q. - int
Returns the desired length of the sub-prime Q of the to-be-generated DSA domain parameters in bits. returns: the length of the sub-prime Q. - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close