JavaTM Platform
Standard Ed. 6

java.security.spec
클래스 RSAOtherPrimeInfo

java.lang.Object 
  상위를 확장 java.security.spec.RSAOtherPrimeInfo


public class RSAOtherPrimeInfo
extends Object

이 클래스는, RSA 의 OtherPrimeInfo 구조 (PKCS#1 v2. 1 의 정의에 의한다) 내부의 삼중항 (소수, 지수, 계수)을 나타냅니다. RSA 의 OtherPrimeInfo 의 ASN. 1 구문을 다음에 나타냅니다.

 OtherPrimeInfo ::= SEQUENCE {
   prime INTEGER,
   exponent INTEGER,
   coefficient INTEGER
   }

 

도입된 버젼:
1.4
관련 항목:
RSAPrivateCrtKeySpec , RSAMultiPrimePrivateCrtKey

생성자 의 개요
RSAOtherPrimeInfo (BigInteger  prime, BigInteger  primeExponent, BigInteger  crtCoefficient)
          PKCS#1 의 정의에 의한 prime, primeExponent, crtCoefficient 를 주는 새로운 RSAOtherPrimeInfo 를 작성합니다.
 
메소드의 개요
 BigInteger getCrtCoefficient ()
          프라임의 crtCoefficient 를 돌려줍니다.
 BigInteger getExponent ()
          프라임의 지수를 돌려줍니다.
 BigInteger getPrime ()
          프라임을 돌려줍니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

RSAOtherPrimeInfo

public RSAOtherPrimeInfo(BigInteger  prime,
                         BigInteger  primeExponent,
                         BigInteger  crtCoefficient)
PKCS#1 의 정의에 의한 prime, primeExponent, crtCoefficient 를 주는 새로운 RSAOtherPrimeInfo 를 작성합니다.

파라미터:
prime - n 의 소인수
primeExponent - 지수
crtCoefficient - 중국 잉여정리의 계수
예외:
NullPointerException - prime,primeExponent,crtCoefficient 의 몇개의 파라미터가 null 의 경우
메소드의 상세

getPrime

public final BigInteger  getPrime()
프라임을 돌려줍니다.

반환값:
프라임

getExponent

public final BigInteger  getExponent()
프라임의 지수를 돌려줍니다.

반환값:
primeExponent

getCrtCoefficient

public final BigInteger  getCrtCoefficient()
프라임의 crtCoefficient 를 돌려줍니다.

반환값:
crtCoefficient

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.