JavaTM Platform
Standard Ed. 6

java.security.spec
클래스 DSAPrivateKeySpec

java.lang.Object 
  상위를 확장 java.security.spec.DSAPrivateKeySpec
모든 구현된 인터페이스:
KeySpec


public class DSAPrivateKeySpec
extends Object
implements KeySpec

관련한 파라미터를 사용해 DSA 비공개키를 지정합니다.

도입된 버젼:
1.2
관련 항목:
Key , KeyFactory , KeySpec , DSAPublicKeySpec , PKCS8EncodedKeySpec

생성자 의 개요
DSAPrivateKeySpec (BigInteger  x, BigInteger  p, BigInteger  q, BigInteger  g)
          지정된 파라미터치를 사용해 새로운 DSAPrivateKeySpec 를 작성합니다.
 
메소드의 개요
 BigInteger getG ()
          베이스 g 를 돌려줍니다.
 BigInteger getP ()
          프라임 p 를 돌려줍니다.
 BigInteger getQ ()
          서브 프라임 q 를 돌려줍니다.
 BigInteger getX ()
          비공개키 x 를 돌려줍니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

DSAPrivateKeySpec

public DSAPrivateKeySpec(BigInteger  x,
                         BigInteger  p,
                         BigInteger  q,
                         BigInteger  g)
지정된 파라미터치를 사용해 새로운 DSAPrivateKeySpec 를 작성합니다.

파라미터:
x - 비공개키
p - 프라임
q - 서브 프라임
g - 베이스
메소드의 상세

getX

public BigInteger  getX()
비공개키 x 를 돌려줍니다.

반환값:
비공개키 x

getP

public BigInteger  getP()
프라임 p 를 돌려줍니다.

반환값:
프라임 p

getQ

public BigInteger  getQ()
서브 프라임 q 를 돌려줍니다.

반환값:
서브 프라임 q

getG

public BigInteger  getG()
베이스 g 를 돌려줍니다.

반환값:
베이스 g

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