Liking cljdoc? Tell your friends :D

jdk.security.spec.RSAOtherPrimeInfo

This class represents the triplet (prime, exponent, and coefficient) inside RSA's OtherPrimeInfo structure, as defined in the PKCS#1 v2.1. The ASN.1 syntax of RSA's OtherPrimeInfo is as follows:

OtherPrimeInfo ::= SEQUENCE { prime INTEGER, exponent INTEGER, coefficient INTEGER }

This class represents the triplet (prime, exponent, and coefficient)
inside RSA's OtherPrimeInfo structure, as defined in the PKCS#1 v2.1.
The ASN.1 syntax of RSA's OtherPrimeInfo is as follows:



OtherPrimeInfo ::= SEQUENCE {
  prime INTEGER,
  exponent INTEGER,
  coefficient INTEGER
  }
raw docstring

->rsa-other-prime-infoclj

(->rsa-other-prime-info prime prime-exponent crt-coefficient)

Constructor.

Creates a new RSAOtherPrimeInfo given the prime, primeExponent, and crtCoefficient as defined in PKCS#1.

prime - the prime factor of n. - java.math.BigInteger prime-exponent - the exponent. - java.math.BigInteger crt-coefficient - the Chinese Remainder Theorem coefficient. - java.math.BigInteger

throws: java.lang.NullPointerException - if any of the parameters, i.e. prime, primeExponent, crtCoefficient, is null.

Constructor.

Creates a new RSAOtherPrimeInfo
 given the prime, primeExponent, and
 crtCoefficient as defined in PKCS#1.

prime - the prime factor of n. - `java.math.BigInteger`
prime-exponent - the exponent. - `java.math.BigInteger`
crt-coefficient - the Chinese Remainder Theorem coefficient. - `java.math.BigInteger`

throws: java.lang.NullPointerException - if any of the parameters, i.e. prime, primeExponent, crtCoefficient, is null.
raw docstring

get-crt-coefficientclj

(get-crt-coefficient this)

Returns the prime's crtCoefficient.

returns: the crtCoefficient. - java.math.BigInteger

Returns the prime's crtCoefficient.

returns: the crtCoefficient. - `java.math.BigInteger`
raw docstring

get-exponentclj

(get-exponent this)

Returns the prime's exponent.

returns: the primeExponent. - java.math.BigInteger

Returns the prime's exponent.

returns: the primeExponent. - `java.math.BigInteger`
raw docstring

get-primeclj

(get-prime this)

Returns the prime.

returns: the prime. - java.math.BigInteger

Returns the prime.

returns: the prime. - `java.math.BigInteger`
raw docstring

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

× close