Spec-Zone.ru › OpenJDK 24

Класс RSAPrivateCrtKeySpec

java.lang.Object
java.security.spec.RSAPrivateKeySpec
java.security.spec.RSAPrivateCrtKeySpec
Все реализованные интерфейсы:
KeySpec
public class RSAPrivateCrtKeySpec extends RSAPrivateKeySpec
Этот класс определяет закрытый ключ RSA, как определено в стандарте PKCS#1 v2.2, используя значения информации теоремы об остатках Кита (CRT) для повышения эффективности.
С:
1.2
Внешние спецификации
  • RFC 8017: PKCS #1: Спецификации RSA-криптографии версии 2.2
См. также:
  • Key
  • KeyFactory
  • KeySpec
  • PKCS8EncodedKeySpec
  • RSAPrivateKeySpec
  • RSAPublicKeySpec

Краткое описание конструкторов

Конструктор Описание
RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
Создает новый RSAPrivateCrtKeySpec.
RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, AlgorithmParameterSpec keyParams)
Создает новый RSAPrivateCrtKeySpec с дополнительными параметрами ключа.

Краткое описание методов

Модификатор и тип Метод Описание
BigInteger getCrtCoefficient()
Возвращает crtCoefficient.
BigInteger getPrimeExponentP()
Возвращает primeExponentP.
BigInteger getPrimeExponentQ()
Возвращает primeExponentQ.
BigInteger getPrimeP()
Возвращает primeP.
BigInteger getPrimeQ()
Возвращает primeQ.
BigInteger getPublicExponent()
Возвращает открытую экспоненту.

Методы, объявленные в классе java.security.spec.RSAPrivateKeySpec

getModulus, getParams, getPrivateExponent

Методы, объявленные в классе java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Подробное описание конструкторов

RSAPrivateCrtKeySpec

public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
Создает новый RSAPrivateCrtKeySpec.
Параметры:
modulus - модуль n
publicExponent - открытая экспонента e
privateExponent - закрытая экспонента d
primeP - простой множитель p от n
primeQ - простой множитель q от n
primeExponentP - это d mod (p-1)
primeExponentQ - это d mod (q-1)
crtCoefficient - коэффициент теоремы об остатках Кита q-1 mod p

RSAPrivateCrtKeySpec

public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, AlgorithmParameterSpec keyParams)
Создает новый RSAPrivateCrtKeySpec с дополнительными параметрами ключа.
Параметры:
modulus - модуль n
publicExponent - открытая экспонента e
privateExponent - закрытая экспонента d
primeP - простой множитель p от n
primeQ - простой множитель q от n
primeExponentP - это d mod (p-1)
primeExponentQ - это d mod (q-1)
crtCoefficient - коэффициент теоремы об остатках Кита q-1 mod p
keyParams - параметры, связанные с ключом
С:
11

Подробное описание методов

getPublicExponent

public BigInteger getPublicExponent()
Возвращает открытую экспоненту.
Возвращает:
открытую экспоненту

getPrimeP

public BigInteger getPrimeP()
Возвращает primeP.
Возвращает:
primeP

getPrimeQ

public BigInteger getPrimeQ()
Возвращает primeQ.
Возвращает:
primeQ

getPrimeExponentP

public BigInteger getPrimeExponentP()
Возвращает primeExponentP.
Возвращает:
primeExponentP

getPrimeExponentQ

public BigInteger getPrimeExponentQ()
Возвращает primeExponentQ.
Возвращает:
primeExponentQ

getCrtCoefficient

public BigInteger getCrtCoefficient()
Возвращает crtCoefficient.
Возвращает:
crtCoefficient

© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://download.java.net/java/early_access/jdk24/docs/api/java.base/java/security/spec/RSAPrivateCrtKeySpec.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API