|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.security.spec.EncodedKeySpec | +--java.security.spec.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 Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.