rsamultiprimeprivatecrtkey.java

来自「JAVA基本类源代码,大家可以学习学习!」· Java 代码 · 共 82 行

JAVA
82
字号
/* * @(#)RSAMultiPrimePrivateCrtKey.java	1.4 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.security.interfaces;import java.math.BigInteger;import java.security.spec.RSAOtherPrimeInfo;/** * The interface to an RSA multi-prime private key, as defined in the  * PKCS#1 v2.1, using the <i>Chinese Remainder Theorem</i>  * (CRT) information values. * * @author Valerie Peng * * @version 1.4 03/01/23 *  * @see java.security.spec.RSAPrivateKeySpec * @see java.security.spec.RSAMultiPrimePrivateCrtKeySpec * @see RSAPrivateKey * @see RSAPrivateCrtKey * * @since 1.4 */public interface RSAMultiPrimePrivateCrtKey extends RSAPrivateKey {    /**     * Returns the public exponent.     *     * @return the public exponent.     */    public BigInteger getPublicExponent();    /**     * Returns the primeP.     *     * @return the primeP.     */    public BigInteger getPrimeP();    /**     * Returns the primeQ.     *     * @return the primeQ.     */    public BigInteger getPrimeQ();    /**     * Returns the primeExponentP.     *     * @return the primeExponentP.     */    public BigInteger getPrimeExponentP();    /**     * Returns the primeExponentQ.     *     * @return the primeExponentQ.     */    public BigInteger getPrimeExponentQ();    /**     * Returns the crtCoefficient.     *     * @return the crtCoefficient.     */    public BigInteger getCrtCoefficient();    /**     * Returns the otherPrimeInfo or null if there are only      * two prime factors (p and q).     *     * @return the otherPrimeInfo.     */    public RSAOtherPrimeInfo[] getOtherPrimeInfo();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?