| Package | Description | 
|---|---|
| java.security.interfaces | Provides interfaces for generating RSA (Rivest, Shamir and
 Adleman AsymmetricCipher algorithm)
 keys as defined in the RSA Laboratory Technical Note
 PKCS#1, and DSA (Digital Signature
 Algorithm) keys as defined in NIST's FIPS-186. | 
| java.security.spec | Provides classes and interfaces for key specifications and algorithm
 parameter specifications. | 
| Modifier and Type | Method and Description | 
|---|---|
| RSAOtherPrimeInfo[] | RSAMultiPrimePrivateCrtKey. getOtherPrimeInfo()Returns the otherPrimeInfo or null if there are only
 two prime factors (p and q). | 
| Modifier and Type | Method and Description | 
|---|---|
| RSAOtherPrimeInfo[] | RSAMultiPrimePrivateCrtKeySpec. getOtherPrimeInfo()Returns a copy of the otherPrimeInfo or null if there are
 only two prime factors (p and q). | 
| Constructor and Description | 
|---|
| RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus,
                              BigInteger publicExponent,
                              BigInteger privateExponent,
                              BigInteger primeP,
                              BigInteger primeQ,
                              BigInteger primeExponentP,
                              BigInteger primeExponentQ,
                              BigInteger crtCoefficient,
                              RSAOtherPrimeInfo[] otherPrimeInfo)Creates a new  RSAMultiPrimePrivateCrtKeySpec. | 
| RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus,
                              BigInteger publicExponent,
                              BigInteger privateExponent,
                              BigInteger primeP,
                              BigInteger primeQ,
                              BigInteger primeExponentP,
                              BigInteger primeExponentQ,
                              BigInteger crtCoefficient,
                              RSAOtherPrimeInfo[] otherPrimeInfo,
                              AlgorithmParameterSpec keyParams)Creates a new  RSAMultiPrimePrivateCrtKeySpecwith additional
 key parameters. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.