JavaTM Platform
Standard Ed. 6

java.security.spec
클래스 RSAPrivateKeySpec

java.lang.Object 
  상위를 확장 java.security.spec.RSAPrivateKeySpec
모든 구현된 인터페이스:
KeySpec
직계의 기존의 서브 클래스:
RSAMultiPrimePrivateCrtKeySpec , RSAPrivateCrtKeySpec


public class RSAPrivateKeySpec
extends Object
implements KeySpec

이 클래스는 RSA 비공개키를 지정합니다.

관련 항목:
Key , KeyFactory , KeySpec , PKCS8EncodedKeySpec , RSAPublicKeySpec , RSAPrivateCrtKeySpec

생성자 의 개요
RSAPrivateKeySpec (BigInteger  modulus, BigInteger  privateExponent)
          새로운 RSAPrivateKeySpec 를 작성합니다.
 
메소드의 개요
 BigInteger getModulus ()
          계수(modulus)를 돌려줍니다.
 BigInteger getPrivateExponent ()
          비공개 지수를 돌려줍니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

RSAPrivateKeySpec

public RSAPrivateKeySpec(BigInteger  modulus,
                         BigInteger  privateExponent)
새로운 RSAPrivateKeySpec 를 작성합니다.

파라미터:
modulus - 계수(modulus)
privateExponent - 비공개 지수
메소드의 상세

getModulus

public BigInteger  getModulus()
계수(modulus)를 돌려줍니다.

반환값:
계수(modulus)

getPrivateExponent

public BigInteger  getPrivateExponent()
비공개 지수를 돌려줍니다.

반환값:
비공개 지수

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 도 참조해 주세요.