|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.security.spec.RSAPrivateKeySpec
java.security.spec.RSAMultiPrimePrivateCrtKeySpec
public class 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
- 계수(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
- 빈 상태(empty)의 (길이가 0) otherPrimeInfo
가 지정되었을 경우메소드의 상세 |
---|
public BigInteger getPublicExponent()
public BigInteger getPrimeP()
public BigInteger getPrimeQ()
public BigInteger getPrimeExponentP()
public BigInteger getPrimeExponentQ()
public BigInteger getCrtCoefficient()
public RSAOtherPrimeInfo [] getOtherPrimeInfo()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.