|
JCaosLib V1.4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dreamsecurity.jcaos.pkcs.PKCS8PrivateKeyInfo
°³ÀÎŰ Á¤º¸¸¦ ´Ù·ç±â À§ÇÑ Å¬·¡½ºÀÌ´Ù.
°³ÀÎŰ Á¤º¸ÀÇ ASN.1 Æ÷¸ËÀº ´ÙÀ½°ú °°´Ù.
PrivateKeyInfo ::= SEQUENCE { version Version, privateKeyAlgorithm AlgorithmIdentifier {{PrivateKeyAlgorithms}}, privateKey PrivateKey, attributes [0] Attributes OPTIONAL }
Constructor Summary | |
PKCS8PrivateKeyInfo(java.security.PrivateKey priKey)
°³ÀÎ۸¦ ÀÔ·Â¹Þ¾Æ PKCS8PrivateKeyInfo Ŭ·¡½º¸¦ ÃʱâÈ ÇÑ´Ù. |
|
PKCS8PrivateKeyInfo(java.security.PrivateKey priKey,
byte[] random)
°³ÀÎŰ Á¤º¸¿Í º»ÀÎÈ®ÀÎÀ» À§ÇÑ ·£´ý°ªÀ» ÀÔ·Â¹Þ¾Æ PKCS8PrivateKeyInfo Ŭ·¡½º¸¦ ÃʱâÈ ÇÑ´Ù. |
Method Summary | |
byte[] |
getEncoded()
DER ÀÎÄÚµù µÇ¾îÀÖ´Â °³ÀÎŰ Á¤º¸¸¦ ȹµæÇÑ´Ù. |
static PKCS8PrivateKeyInfo |
getInstance(byte[] data)
°³ÀÎŰ Á¤º¸¸¦ ÀÔ·ÂÇÏ¿© PKCS8PrivateKeyInfo °´Ã¼·Î º¯È¯ÇÑ´Ù. |
static PKCS8PrivateKeyInfo |
getInstance(java.lang.Object o)
°³ÀÎŰ Á¤º¸¸¦ ÀÔ·ÂÇÏ¿© PKCS8PrivateKeyInfo °´Ã¼·Î º¯È¯ÇÑ´Ù. |
int |
getKeySize()
ÇØ´ç °³ÀÎŰ ¾Ë°í¸®ÁòÀÇ Å° ±æÀ̸¦ ȹµæÇÑ´Ù. |
java.security.PrivateKey |
getPrivateKey()
°³ÀÎ۸¦ ȹµæÇÑ´Ù. |
byte[] |
getRandom()
º»ÀÎÈ®ÀÎÀ» °ËÁõÀ» À§ÇØ ÇÊ¿äÇÑ ·£´ý°ªÀ» ȹµæÇÑ´Ù. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PKCS8PrivateKeyInfo(java.security.PrivateKey priKey, byte[] random) throws java.io.IOException
priKey
- PrivateKey Çü½ÄÀÇ °³ÀÎŰrandom
- º»ÀÎÈ®ÀÎÀ» À§ÇÑ ·£´ý°ª
java.io.IOException
- °³ÀÎŰ µðÄÚµù ½ÇÆÐ½Ã ¹ß»ýpublic PKCS8PrivateKeyInfo(java.security.PrivateKey priKey) throws java.io.IOException
priKey
- PrivateKey Çü½ÄÀÇ °³ÀÎŰ
java.io.IOException
- °³ÀÎŰ µðÄÚµù ½ÇÆÐ½Ã ¹ß»ýMethod Detail |
public static PKCS8PrivateKeyInfo getInstance(byte[] data) throws java.io.IOException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.spec.InvalidKeySpecException
data
- DER ÀÎÄÚµùµÈ ÇüÅÂÀÇ °³ÀÎŰ Á¤º¸
java.io.IOException
- µðÄÚµù ½ÇÆÐ½Ã ¹ß»ý
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
java.security.spec.InvalidKeySpecException
public static PKCS8PrivateKeyInfo getInstance(java.lang.Object o) throws java.io.IOException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.spec.InvalidKeySpecException
o
- °³ÀÎŰ Á¤º¸ (DER ÀÎÄÚµùµÈ °ª ¶Ç´Â ASN.1 ÇüÅÂ)
java.io.IOException
- µðÄÚµù ½ÇÆÐ½Ã ¹ß»ý
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
java.security.spec.InvalidKeySpecException
public java.security.PrivateKey getPrivateKey()
public byte[] getRandom()
public int getKeySize()
public byte[] getEncoded()
|
JCaosLib V1.4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |