|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.security.spec.EncodedKeySpec
java.security.spec.PKCS8EncodedKeySpec
public class PKCS8EncodedKeySpec
ASN. 1 PrivateKeyInfo
·Î ÁöÁ¤µÈ Çü½Ä¿¡ µû¶ó encode µÈ, ºñ°ø°³Å°ÀÇ ASN. 1 ¿¡¼ÀÇ encode¸¦ ³ªÅ¸³À´Ï´Ù. PrivateKeyInfo
±¸¹®Àº ´ÙÀ½´ë·Î PKCS#8 Ç¥ÁØÀ¸·Î Á¤ÀÇÇÕ´Ï´Ù.
PrivateKeyInfo ::= SEQUENCE { version Version, privateKeyAlgorithm PrivateKeyAlgorithmIdentifier, privateKey PrivateKey, attributes [0] IMPLICIT Attributes OPTIONAL } Version ::= INTEGER PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier PrivateKey ::= OCTET STRING Attributes ::= SET OF Attribute
Key
,
KeyFactory
,
KeySpec
,
EncodedKeySpec
,
X509EncodedKeySpec
»ý¼ºÀÚ °³¿ä | |
---|---|
PKCS8EncodedKeySpec (byte[] encodedKey)
ÁöÁ¤ÀÇ encode µÈ ۸¦ »ç¿ëÇØ »õ·Î¿î PKCS8EncodedKeySpec¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
byte[] |
getEncoded ()
PKCS #8 Ç¥ÁØ¿¡ µû¶ó encode µÈ ŰÀÇ ¹ÙÀÌÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
getFormat ()
ÀÌ Å° »ç¾ç¿¡ °ü·ÃÇÑ encode Çü½ÄÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public PKCS8EncodedKeySpec(byte[] encodedKey)
encodedKey
- Ű. PKCS #8 Ç¥ÁØ¿¡ µû¶ó encode µÇ°í ÀÖ´Ù°í º¸¿©Áø´Ù. ÀÌ ¹è¿ÀÇ ³»¿ëÀº ÈļÓÀÇ º¯°æ¿¡ ¿µÇâÀ» ¹ÞÁö ¾Ê°Ô Ä«Çǵȴٸ޼µåÀÇ »ó¼¼ |
---|
public byte[] getEncoded()
EncodedKeySpec
³»ÀÇ getEncoded
public final String getFormat()
EncodedKeySpec
³»ÀÇ getFormat
¡¸PKCS#8¡¹
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.