JavaTM 2 Platform
Standard Ed. 5.0

java.security.spec
Ŭ·¡½º X509EncodedKeySpec

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

public class X509EncodedKeySpec
extends EncodedKeySpec

ASN. 1 SubjectPublicKeyInfo·Î ÁöÁ¤µÈ Çü½Ä¿¡ µû¶ó encode µÈ, °ø°³Å°ÀÇ ASN. 1 ¿¡¼­ÀÇ encode¸¦ ³ªÅ¸³À´Ï´Ù. SubjectPublicKeyInfo ±¸¹®Àº ´ÙÀ½´ë·Î X. 509 Ç¥ÁØÀ¸·Î Á¤ÀÇÇÕ´Ï´Ù.


 SubjectPublicKeyInfo ::= SEQUENCE {
   algorithm AlgorithmIdentifier,
   subjectPublicKey BIT STRING }
 

µµÀÔµÈ ¹öÀü :
1.2
°ü·Ã Ç׸ñ:
Key, KeyFactory, KeySpec, EncodedKeySpec, PKCS8EncodedKeySpec

»ý¼ºÀÚ °³¿ä
X509EncodedKeySpec (byte[] encodedKey)
          ÁöÁ¤µÈ encode µÈ Å°¸¦ »ç¿ëÇØ »õ·Î¿î X509EncodedKeySpec¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 byte[] getEncoded ()
          X. 509 Ç¥ÁØ¿¡ µû¶ó encode µÈ Å°ÀÇ ¹ÙÀÌÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 String getFormat ()
          ÀÌ Å° »ç¾ç¿¡ °ü·ÃÇÑ encode Çü½ÄÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

X509EncodedKeySpec

public X509EncodedKeySpec(byte[] encodedKey)
ÁöÁ¤µÈ encode µÈ Å°¸¦ »ç¿ëÇØ »õ·Î¿î X509EncodedKeySpec¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
encodedKey - Å°. X. 509 Ç¥ÁØ¿¡ µû¶ó encode µÇ°í ÀÖ´Ù°í º¸¿©Áø´Ù. ÀÌ ¹è¿­ÀÇ ³»¿ëÀº ÈļÓÀÇ º¯°æ¿¡ ¿µÇâÀ» ¹ÞÁö ¾Ê°Ô Ä«ÇǵȴÙ
¸Þ¼­µåÀÇ »ó¼¼

getEncoded

public byte[] getEncoded()
X. 509 Ç¥ÁØ¿¡ µû¶ó encode µÈ Å°ÀÇ ¹ÙÀÌÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º EncodedKeySpec ³»ÀÇ getEncoded
¹Ýȯ°ª:
X. 509 ·Î encode µÈ Å°. ÀÌ ¸Þ¼­µå°¡ ºÒ·Á °¥ ¶§¸¶´Ù »õ·Î¿î ¹è¿­À» µ¹·ÁÁØ´Ù

getFormat

public final String  getFormat()
ÀÌ Å° »ç¾ç¿¡ °ü·ÃÇÑ encode Çü½ÄÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù.

Á¤ÀÇ:
Ŭ·¡½º EncodedKeySpec ³»ÀÇ getFormat
¹Ýȯ°ª:
ij¸¯ÅÍ ¶óÀΡ¸X. 509¡¹

JavaTM 2 Platform
Standard Ed. 5.0

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