JavaTM 2 Platform
Standard Ed. 5.0

java.security.spec
Ŭ·¡½º RSAKeyGenParameterSpec

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

public class RSAKeyGenParameterSpec
extends Object
implements AlgorithmParameterSpec

RSA Å° Æä¾î¸¦ »ý¼ºÇϱâ À§Çؼ­ »ç¿ëµÇ´Â ÆĶó¹ÌÅͼ¼Æ®¸¦ ÁöÁ¤ÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.3
°ü·Ã Ç׸ñ:
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)

ÇÊµå °³¿ä
static BigInteger F0
          °ø°³ Áö¼öÄ¡ F0 = 3
static BigInteger F4
          °ø°³ Áö¼öÄ¡ F4 = 65537
 
»ý¼ºÀÚ °³¿ä
RSAKeyGenParameterSpec (int keysize, BigInteger  publicExponent)
          ÁöÁ¤µÈ Å° »çÀÌÁî ¹× °ø°³ Áö¼öÄ¡·ÎºÎÅÍ »õ·Î¿î RSAParameterSpec °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 int getKeysize ()
          Å° »çÀÌÁ µÇµ¹¸³´Ï´Ù.
 BigInteger getPublicExponent ()
          °ø°³ Áö¼öÄ¡¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

ÇʵåÀÇ »ó¼¼

F0

public static final BigInteger  F0
°ø°³ Áö¼öÄ¡ F0 = 3


F4

public static final BigInteger  F4
°ø°³ Áö¼öÄ¡ F4 = 65537

»ý¼ºÀÚ »ó¼¼

RSAKeyGenParameterSpec

public RSAKeyGenParameterSpec(int keysize,
                              BigInteger  publicExponent)
ÁöÁ¤µÈ Å° »çÀÌÁî ¹× °ø°³ Áö¼öÄ¡·ÎºÎÅÍ »õ·Î¿î RSAParameterSpec °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
keysize - ¸ðµâ »çÀÌÁî (ºñÆ®¼ö·Î ÁöÁ¤)
publicExponent - °ø°³ Áö¼ö
¸Þ¼­µåÀÇ »ó¼¼

getKeysize

public int getKeysize()
Å° »çÀÌÁ µÇµ¹¸³´Ï´Ù.

¹Ýȯ°ª:
Å° »çÀÌÁî

getPublicExponent

public BigInteger  getPublicExponent()
°ø°³ Áö¼öÄ¡¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
°ø°³ Áö¼öÄ¡

JavaTM 2 Platform
Standard Ed. 5.0

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