|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º Â÷ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjava.security.KeyRep
public class KeyRep
Á÷·ÄÈ µÈ Key °´Ã¼ÀÇ Ç¥ÁØÈ µÈ Ç¥ÇöÀÔ´Ï´Ù.
Á÷·ÄÈ µÈ Key ¿¡´Â ½Å·ÚÇÒ ¼ö ¾ø´Â ȯ°æ¿¡¼´Â °ø°³ ÇØ¼´Â ¾ÈµÈ ±â¹Ð Á¤º¸°¡ Æ÷Ç﵃ °¡´É¼ºÀÌ ÀÖ´Â Á¡¿¡ ÁÖÀÇÇØ ÁÖ¼¼¿ä. ÀÚ¼¼ÇÑ ³»¿ëÀº Á÷·ÄÈ »ç¾çÀÇ ½ÃÅ¥·¯Æ¼¿¡ °üÇÑ ºÎ·ÏÀ» ÂüÁ¶ÇϽʽÿÀ.
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 |
| »ý¼ºÀÚ »ó¼¼ |
|---|
public KeyRep(KeyRep.Type type,
String algorithm,
String format,
byte[] encoded)
type - Type.SECRET, Type.PUBLIC, ¶Ç´Â Type.PRIVATE
¾î´ÀÂÊÀ̵çalgorithm - Key.getAlgorithm()·Î
ºÎÅÍ ¸®ÅÏµÈ ¾Ë°í¸®Áòformat - Key.getFormat()·Î
ºÎÅÍ ¸®ÅÏµÈ encode Çü½Äencoded - Key.getEncoded()·Î
ºÎÅÍ ¸®ÅÏµÈ encode°¡ ³¡³ ¹ÙÀÌÆ®
NullPointerException - type, algorithm, format, ¶Ç´Â encoded Áß ÇÑÂÊÀÌ nullÀÎ °æ¿ì| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
protected Object readResolve()
throws ObjectStreamException
ÀÌ ¸Þ¼µå°¡ Áö¿øÇϴ ŸÀÔ/Çü½ÄÀÇ Æí¼ºÀº ´ÙÀ½ÀÇ 3 °³ÀÔ´Ï´Ù.
NotSerializableException - ŸÀÔ/Çü½ÄÀÇ Æí¼ºÀ» ÀνÄÇÒ ¼ö ¾ø´Â °æ¿ì, ŰÀÇ ¾Ë°í¸®Áò, Çü½Ä, encode ¹ÙÀÌÆ®¸¦ ÀνÄÇÒ ¼ö ¾ø´Â°¡ ¹«È¿ÀÎ °æ¿ì, ¶Ç´Â ŰÀÇ ÇØ°áÀÌ ¾î¶°ÇÑ ÀÌÀ¯·Î½á ½ÇÆÐÇßÀ» °æ¿ì
ObjectStreamException
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º Â÷ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.