JavaTM 2 Platform
Standard Ed. 5.0

javax.crypto.spec
Ŭ·¡½º DHPrivateKeySpec

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.crypto.spec.DHPrivateKeySpec
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
KeySpec

public class DHPrivateKeySpec
extends Object
implements KeySpec

°ü·ÃÇÑ ÆĶó¹ÌÅ͸¦ »ç¿ëÇØ Diffie-Hellman ºñ°ø°³Å°¸¦ ÁöÁ¤ÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.4
°ü·Ã Ç׸ñ:
DHPublicKeySpec

»ý¼ºÀÚ °³¿ä
DHPrivateKeySpec (BigInteger  x, BigInteger  p, BigInteger  g)
          ºñ°ø°³Ä¡ x, ÇÁ¶óÀÌ ¹«¸ðÁê¶ó½º p, º£À̽º Á¦³×·¹ÀÌÅÍ g¸¦ ÃëÇÏ´Â »ý¼ºÀÚ ÀÔ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 BigInteger getG ()
          º£À̽º Á¦³×·¹ÀÌÅÍ g¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 BigInteger getP ()
          ÇÁ¶óÀÓ¸ðÁê¶ó½º p¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 BigInteger getX ()
          ºñ°ø°³Å°ÀÇ °ª x¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object (À¸)·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

DHPrivateKeySpec

public DHPrivateKeySpec(BigInteger  x, 
BigInteger  p,
BigInteger  g)
ºñ°ø°³Ä¡ x, ÇÁ¶óÀÓ¸ðÁê¶ó½º p, º£À̽º Á¦³×·¹ÀÌÅÍ g¸¦ ÃëÇÏ´Â »ý¼ºÀÚ ÀÔ´Ï´Ù.

ÆĶó¹ÌÅÍ:
x - ºñ°ø°³Ä¡ x
p - ÇÁ¶óÀÓ¸ðÁê¶ó½º p
g - º£À̽º Á¦³×·¹ÀÌÅÍ g
¸Þ¼­µåÀÇ »ó¼¼

getX

public BigInteger  getX()
ºñ°ø°³Å°ÀÇ °ª x¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
ºñ°ø°³Å°ÀÇ °ª x

getP

public BigInteger  getP()
ÇÁ¶óÀÓ¸ðÁê¶ó½º p¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
ÇÁ¶óÀÓ¸ðÁê¶ó½º p

getG

public BigInteger  getG()
º£À̽º Á¦³×·¹ÀÌÅÍ g¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
º£À̽º Á¦³×·¹ÀÌÅÍ g

JavaTM 2 Platform
Standard Ed. 5.0

¹Ù ±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
¶ÇÇÑ ÀÚ¼¼ÇÑ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ ¹®¼­¿¡ ´ëÇؼ­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇϽʽÿÀ. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ Çؼ³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥ ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.