JavaTM 2 Platform
Standard Ed. 5.0

java.security
Ŭ·¡½º KeyRep

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

public class KeyRep
extends Object
implements Serializable

Á÷·ÄÈ­ µÈ Key °´Ã¼ÀÇ Ç¥ÁØÈ­ µÈ Ç¥ÇöÀÔ´Ï´Ù.

Á÷·ÄÈ­ µÈ Key ¿¡´Â ½Å·ÚÇÒ ¼ö ¾ø´Â ȯ°æ¿¡¼­´Â °ø°³ Çؼ­´Â ¾ÈµÈ ±â¹Ð Á¤º¸°¡ Æ÷Ç﵃ °¡´É¼ºÀÌ ÀÖ´Â Á¡¿¡ ÁÖÀÇÇØ ÁÖ¼¼¿ä. ÀÚ¼¼ÇÑ ³»¿ëÀº Á÷·ÄÈ­ »ç¾çÀÇ ½ÃÅ¥·¯Æ¼¿¡ °üÇÑ ºÎ·ÏÀ» ÂüÁ¶ÇϽʽÿÀ.

µµÀÔµÈ ¹öÀü :
1.5
°ü·Ã Ç׸ñ:
Key, KeyFactory, SecretKeySpec, X509EncodedKeySpec, PKCS8EncodedKeySpec, Á÷·ÄÈ­ µÈ Çü½Ä

Áßø(Nested) Ŭ·¡½º °³¿ä
static class KeyRep.Type
          Å°ÀÇ Å¸ÀÔÀÔ´Ï´Ù.
 
»ý¼ºÀÚ °³¿ä
KeyRep (KeyRep.Type  type, String  algorithm, String  format, byte[] encoded)
          ´ëü Key Ŭ·¡½º¸¦ ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
protected  Object readResolve ()
          Key °´Ã¼¸¦ ÇØ°áÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

KeyRep

public KeyRep(KeyRep.Type  type,
              String  algorithm,
              String  format,
              byte[] encoded)
´ëü Key Ŭ·¡½º¸¦ ±¸ÃàÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
type - Type.SECRET, Type.PUBLIC, ¶Ç´Â Type.PRIVATE ¾î´ÀÂÊÀ̵ç
algorithm - Key.getAlgorithm()·Î ºÎÅÍ ¸®ÅÏµÈ ¾Ë°í¸®Áò
format - Key.getFormat()·Î ºÎÅÍ ¸®ÅÏµÈ encode Çü½Ä
encoded - Key.getEncoded()·Î ºÎÅÍ ¸®ÅÏµÈ encode°¡ ³¡³­ ¹ÙÀÌÆ®
¿¹¿Ü:
NullPointerException - type, algorithm, format, ¶Ç´Â encoded Áß ÇÑÂÊÀÌ nullÀÎ °æ¿ì
¸Þ¼­µåÀÇ »ó¼¼

readResolve

protected Object  readResolve()
                      throws ObjectStreamException 
Key °´Ã¼¸¦ ÇØ°áÇÕ´Ï´Ù.

ÀÌ ¸Þ¼­µå°¡ Áö¿øÇϴ ŸÀÔ/Çü½ÄÀÇ Æí¼ºÀº ´ÙÀ½ÀÇ 3 °³ÀÔ´Ï´Ù.

¹Ýȯ°ª:
ÇØ°áµÈ Key °´Ã¼
¿¹¿Ü:
NotSerializableException - ŸÀÔ/Çü½ÄÀÇ Æí¼ºÀ» ÀνÄÇÒ ¼ö ¾ø´Â °æ¿ì, Å°ÀÇ ¾Ë°í¸®Áò, Çü½Ä, encode ¹ÙÀÌÆ®¸¦ ÀνÄÇÒ ¼ö ¾ø´Â°¡ ¹«È¿ÀÎ °æ¿ì, ¶Ç´Â Å°ÀÇ ÇØ°áÀÌ ¾î¶°ÇÑ ÀÌÀ¯·Î½á ½ÇÆÐÇßÀ» °æ¿ì
ObjectStreamException

JavaTM 2 Platform
Standard Ed. 5.0

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