IT. Expert System.

Android Reference

RSAMultiPrimePrivateCrtKeySpec


java.security.spec

Class RSAMultiPrimePrivateCrtKeySpec

  • All Implemented Interfaces:
    KeySpec


    public class RSAMultiPrimePrivateCrtKeySpec
    extends RSAPrivateKeySpec
    The key specification of a RSA multi-prime private key with the Chinese Remainder Theorem (CRT) information values used.

    Defined in the PKCS #1 v2.1 standard.

    • Constructor Detail

      • RSAMultiPrimePrivateCrtKeySpec

        public RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus,
                                      BigInteger publicExponent,
                                      BigInteger privateExponent,
                                      BigInteger primeP,
                                      BigInteger primeQ,
                                      BigInteger primeExponentP,
                                      BigInteger primeExponentQ,
                                      BigInteger crtCoefficient,
                                      RSAOtherPrimeInfo[] otherPrimeInfo)
        Creates a new RSAMultiPrimePrivateCrtKeySpec with the specified modulus, public exponent, private exponent, prime factors, prime exponents, crt coefficient, and additional primes.
        Parameters:
        modulus - the modulus n.
        publicExponent - the public exponent e.
        privateExponent - the private exponent d.
        primeP - the prime factor p of n.
        primeQ - the prime factor q of n.
        primeExponentP - the exponent of the prime p.
        primeExponentQ - the exponent of the prime q.
        crtCoefficient - the CRT coefficient q^-1 mod p.
        otherPrimeInfo - the information for the additional primes or null if there are only the two primes (p, q).
        Throws:
        IllegalArgumentException - if otherPrimeInfo is not null but empty.
    • Method Detail

      • getCrtCoefficient

        public BigInteger getCrtCoefficient()
        Returns the CRT coefficient, q^-1 mod p.
        Returns:
        the CRT coefficient, q^-1 mod p.
      • getOtherPrimeInfo

        public RSAOtherPrimeInfo[] getOtherPrimeInfo()
        Returns the information for the additional primes.
        Returns:
        the information for the additional primes, or null if there are only the two primes (p, q).
      • getPrimeExponentP

        public BigInteger getPrimeExponentP()
        Returns the exponent of the prime p.
        Returns:
        the exponent of the prime p.
      • getPrimeExponentQ

        public BigInteger getPrimeExponentQ()
        Returns the exponent of the prime q.
        Returns:
        the exponent of the prime q.
      • getPrimeP

        public BigInteger getPrimeP()
        Returns the prime factor p.
        Returns:
        the prime factor p.
      • getPrimeQ

        public BigInteger getPrimeQ()
        Returns the prime factor q.
        Returns:
        the prime factor q.
      • getPublicExponent

        public BigInteger getPublicExponent()
        Returns the public exponent e.
        Returns:
        the public exponent e.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 30 / . Delta: 0.01824 с