|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.security.spec.RSAPrivateKeySpec | +--java.security.spec.RSAMultiPrimePrivateCrtKeySpec
ÀÌ Å¬·¡½º´Â Áß±¹ À׿©Á¤¸® (CRT)ÀÇ Á¤º¸ÀÇ °ªÀ» »ç¿ëÇØ RSA ¸ÖƼ ÇÁ¶óÀÓ ºñ°ø°³¿¼è (PKCS#1 v2. 1 ÀÇ Á¤ÀÇ¿¡ ÀÇÇÑ´Ù)¸¦ È¿À²À» Çâ»ó½Ã۱â À§Çؼ(¶§¹®¿¡) ÁöÁ¤ÇÕ´Ï´Ù.
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 |
»ý¼ºÀÚÀÇ »ó¼¼ |
public RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo [] otherPrimeInfo)
RSAMultiPrimePrivateCrtKeySpec
¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
otherPrimeInfo
´Â ÀÌ ¿ÀºêÁ§Æ®¸¦ ±¸ÃàÇÒ °æ¿ì¿¡ º¹Á¦µË´Ï´Ù.
modulus
- ¸ðÁê¶ó½º npublicExponent
- °ø°³ Áö¼ö eprivateExponent
- ºñ°ø°³ Áö¼ö dprimeP
- n ÀÇ ¼ÒÀμö pprimeQ
- n ÀÇ ¼ÒÀμö qprimeExponentP
- d mod (p-1)primeExponentQ
- d mod (q-1)crtCoefficient
- Áß±¹ À׿©Á¤¸®ÀÇ °è¼ö q-1 mod potherPrimeInfo
- ³ª¸ÓÁöÀÇ ÇÁ¶óÀÓÀÇ »ïÁßÇ×. 2 °³ÀÇ ¼ÒÀμö (p ¿Í q)¹Û¿¡ ¾ø´Â °æ¿ì´Â null
NullPointerException
- modulus
,publicExponent
,privateExponent
,primeP
,primeQ
,primeExponentP
,primeExponentQ
,crtCoefficient
ÀÇ ¾î¶² °ÍÀΰ¡°¡ null ÀÇ °æ¿ì
IllegalArgumentException
- ÇÏ´ÃÀÇ (±æÀ̰¡ 0) otherPrimeInfo
°¡ ÁöÁ¤µÇ¾úÀ» °æ¿ì¸Þ¼ÒµåÀÇ »ó¼¼ |
public BigInteger getPublicExponent()
public BigInteger getPrimeP()
public BigInteger getPrimeQ()
public BigInteger getPrimeExponentP()
public BigInteger getPrimeExponentQ()
public BigInteger getCrtCoefficient()
public RSAOtherPrimeInfo [] getOtherPrimeInfo()
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
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.