JavaTM 2
Platform
Std.  Ed.  v1. 4.0

java.security.spec
Ŭ·¡½º RSAMultiPrimePrivateCrtKeySpec

java.lang.Object 
  |
  +--java.security.spec.RSAPrivateKeySpec 
        |
        +--java.security.spec.RSAMultiPrimePrivateCrtKeySpec
¸ðµç ±¸Çö ÀÎÅÍÆäÀ̽º:
KeySpec

public class RSAMultiPrimePrivateCrtKeySpec
extends RSAPrivateKeySpec

ÀÌ Å¬·¡½º´Â Áß±¹ À׿©Á¤¸® (CRT)ÀÇ Á¤º¸ÀÇ °ªÀ» »ç¿ëÇØ RSA ¸ÖƼ ÇÁ¶óÀÓ ºñ°ø°³¿­¼è (PKCS#1 v2. 1 ÀÇ Á¤ÀÇ¿¡ ÀÇÇÑ´Ù)¸¦ È¿À²À» Çâ»ó½Ã۱â À§Çؼ­(¶§¹®¿¡) ÁöÁ¤ÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÁ¯:
1.4
°ü·Ã Ç׸ñ:
Key , KeyFactory , KeySpec , PKCS8EncodedKeySpec , RSAPrivateKeySpec , RSAPublicKeySpec , RSAOtherPrimeInfo

»ý¼ºÀÚÀÇ °³¿ä
RSAMultiPrimePrivateCrtKeySpec (BigInteger  modulus, BigInteger  publicExponent, BigInteger  privateExponent, BigInteger  primeP, BigInteger  primeQ, BigInteger  primeExponentP, BigInteger  primeExponentQ, BigInteger  crtCoefficient, RSAOtherPrimeInfo [] otherPrimeInfo)
          PKCS#1 v2. 1 ¿¡ Á¤ÀÇµÈ modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, crtCoefficient, ¹× otherPrimeInfo À» ÁöÁ¤ÇØ, »õ·Î¿î RSAMultiPrimePrivateCrtKeySpec ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 
¸Þ¼ÒµåÀÇ °³¿ä
 BigInteger getCrtCoefficient ()
          crtCoefficient ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 RSAOtherPrimeInfo [] getOtherPrimeInfo ()
          otherPrimeInfo ÀÇ º¹Á¦¸¦ µ¹·ÁÁÝ´Ï´Ù.
 BigInteger getPrimeExponentP ()
          primeExponentP ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 BigInteger getPrimeExponentQ ()
          primeExponentQ ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 BigInteger getPrimeP ()
          primeP ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 BigInteger getPrimeQ ()
          primeQ ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 BigInteger getPublicExponent ()
          °ø°³ Áö¼ö¸¦ µ¹·ÁÁÝ´Ï´Ù.
 
Ŭ·¡½º java.security.spec. RSAPrivateKeySpec ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
getModulus , getPrivateExponent
 
Ŭ·¡½º java.lang. Object ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

»ý¼ºÀÚÀÇ »ó¼¼

RSAMultiPrimePrivateCrtKeySpec

public RSAMultiPrimePrivateCrtKeySpec(BigInteger  modulus,
                                      BigInteger  publicExponent,
                                      BigInteger  privateExponent,
                                      BigInteger  primeP,
                                      BigInteger  primeQ,
                                      BigInteger  primeExponentP,
                                      BigInteger  primeExponentQ,
                                      BigInteger  crtCoefficient,
                                      RSAOtherPrimeInfo [] otherPrimeInfo)
PKCS#1 v2. 1 ¿¡ Á¤ÀÇµÈ modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, crtCoefficient, ¹× otherPrimeInfo À» ÁöÁ¤ÇØ, »õ·Î¿î RSAMultiPrimePrivateCrtKeySpec ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

otherPrimeInfo ´Â ÀÌ ¿ÀºêÁ§Æ®¸¦ ±¸ÃàÇÒ °æ¿ì¿¡ º¹Á¦µË´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
modulus - ¸ðÁê¶ó½º n
publicExponent - °ø°³ Áö¼ö e
privateExponent - ºñ°ø°³ Áö¼ö d
primeP - n ÀÇ ¼ÒÀμö p
primeQ - n ÀÇ ¼ÒÀμö q
primeExponentP - d mod (p-1)
primeExponentQ - d mod (q-1)
crtCoefficient - Áß±¹ À׿©Á¤¸®ÀÇ °è¼ö q-1 mod p
otherPrimeInfo - ³ª¸ÓÁöÀÇ ÇÁ¶óÀÓÀÇ »ïÁßÇ×. 2 °³ÀÇ ¼ÒÀμö (p ¿Í q)¹Û¿¡ ¾ø´Â °æ¿ì´Â null
¿¹¿Ü:
NullPointerException - modulus,publicExponent,privateExponent,primeP,primeQ,primeExponentP,primeExponentQ,crtCoefficient ÀÇ ¾î¶² °ÍÀΰ¡°¡ null ÀÇ °æ¿ì
IllegalArgumentException - ÇÏ´ÃÀÇ (±æÀ̰¡ 0) otherPrimeInfo °¡ ÁöÁ¤µÇ¾úÀ» °æ¿ì
¸Þ¼ÒµåÀÇ »ó¼¼

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

getOtherPrimeInfo

public RSAOtherPrimeInfo [] getOtherPrimeInfo()
otherPrimeInfo ÀÇ º¹Á¦¸¦ µ¹·ÁÁÝ´Ï´Ù. 2 °³ÀÇ ¼ÒÀμö (p ¿Í q)¹Û¿¡ ¾ø´Â °æ¿ì´Â null ¸¦ µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
otherPrimeInfo

JavaTM 2
Platform
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ À־ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.