|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.security.KeyStore.PrivateKeyEntry
public static final class KeyStore.PrivateKeyEntry
ƯÁ¤ÀÇ PrivateKey
¿Í
´ëÀÀÇÏ´Â Áõ¸í ¿¬¼â°¡ Æ÷ÇÔµÈ KeyStore
¿£Æ®¸®ÀÔ´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
KeyStore.PrivateKeyEntry (PrivateKey privateKey,
Certificate [] chain)
ƯÁ¤ÀÇ PrivateKey ¿Í
´ëÀÀÇÏ´Â Áõ¸í ¿¬¼â¸¦ »ç¿ëÇØ PrivateKeyEntry ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
Certificate |
getCertificate ()
ÀÌ ¿£Æ®¸®³»ÀÇ Áõ¸í ¿¬¼â·ÎºÎÅÍ ¿£µå¿£Æ¼Æ¼ Certificate ¸¦ ÃëµæÇÕ´Ï´Ù. |
Certificate [] |
getCertificateChain ()
ÀÌ ¿£Æ®¸®³»ÀÇ Certificate ¿¬¼â¸¦ ÃëµæÇÕ´Ï´Ù. |
PrivateKey |
getPrivateKey ()
ÀÌ ¿£Æ®¸®³»ÀÇ PrivateKey ¸¦ ÃëµæÇÕ´Ï´Ù. |
String |
toString ()
ÀÌ PrivateKeyEntry ij¸¯ÅÍ ¶óÀΠǥÇöÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public KeyStore.PrivateKeyEntry(PrivateKey privateKey, Certificate [] chain)
PrivateKey
¿Í
´ëÀÀÇÏ´Â Áõ¸í ¿¬¼â¸¦ »ç¿ëÇØ PrivateKeyEntry
¸¦ ±¸ÃàÇÕ´Ï´Ù.
ÁöÁ¤µÈ chain
´Â
»õ·Î¿î PrivateKeyEntry
°´Ã¼¿¡ÀÇ Æ÷ÇÔÀü¿¡ º¹Á¦µË´Ï´Ù.
privateKey
- PrivateKey
chain
- Áõ¸í ¿¬¼â¸¦ ³ªÅ¸³»´Â Certificate
¹è¿. Áõ¸í ¿¬¼âÀÇ °¢ ¿ä¼Ò°¡ ÀûÀýÇÑ Â÷·Ê·Î ³ª¶õÇØÁú ¼ö ÀÖ°í¶ó°í ³»·Á ºñ°ø°³Å°¿¡ ´ëÀÀÇÏ´Â Certificate
°¡ À妽º 0
À§Ä¡¿¡ Æ÷ÇԵǾî ÀÖÀ» Çʿ䰡 ÀÖ½À´Ï´Ù.
NullPointerException
- privateKey
¶Ç´Â chain
°¡ null
ÀÎ °æ¿ì
IllegalArgumentException
- ÁöÁ¤µÈ Áõ¸í ¿¬¼âÀÇ ±æÀ̰¡ 0ÀÎ °æ¿ì, ÁöÁ¤µÈ Áõ¸í ¿¬¼â¿¡ Æ÷ÇԵǴ °¢ Certificate
Á¾·ù°¡ ´Ù¸¥ °æ¿ì, ȤÀº PrivateKey
¾Ë°í¸®ÁòÀÌ ¿£µå¿£Æ¼Æ¼ Certificate
(À妽º 0) ³»ÀÇ PublicKey
¾Ë°í¸®Áò°ú ÀÏÄ¡ÇÏÁö ¾Ê´Â °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
public PrivateKey getPrivateKey()
PrivateKey
¸¦ ÃëµæÇÕ´Ï´Ù.
PrivateKey
public Certificate [] getCertificateChain()
Certificate
¿¬¼â¸¦ ÃëµæÇÕ´Ï´Ù.
Æ÷ÇԵǴ Áõ¸í ¿¬¼â´Â µ¹·ÁÁÖ°íÁö±â Àü¿¡ º¹Á¦µË´Ï´Ù.
Certificate
¹è¿. ÀÎÁõ¼
ÀÇ Á¾·ù°¡ X. 509 ÀÎ °æ¿ì, ¸®ÅϵÈ
¹è¿ÀÇ ½ÇÇà½ÃÀÇ ÇüÅ´ X509Certificate[]
°¡ µÈ´Ùpublic Certificate getCertificate()
Certificate
¸¦ ÃëµæÇÕ´Ï´Ù.
Certificate
(À妽º 0). ÀÌ ÀÎÁõ¼
ÀÇ Á¾·ù°¡ X. 509 ÀÎ °æ¿ì, ¸®ÅϵÈ
ÀÎÁõ¼
ÀÇ ½ÇÇà½ÃÀÇ ÇüÅ´ X509Certificate
°¡ µÈ´Ùpublic String toString()
Object
³»ÀÇ toString
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.