|
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.wcms.WapEnvelopedData
WapEnvelopedData¸¦ ó¸®Çϱâ À§ÇÑ Å¬·¡½ºÀÌ´Ù.
WapEnvelopedData´Â ¸Þ½ÃÁöÀÇ ±â¹Ð¼ºÀ» À§Çؼ »ç¿ëµÇ´Â EnvelopedData¿Í ¸Þ½ÃÁö ±¸Á¶¿Í ºñ½ÁÇϳª,
WapEnvelopedData´Â ¸Þ½ÃÁöÀÇ »çÀÌÁî¿¡ ¹Î°¨ÇÑ ¹«¼±È¯°æ¿¡¼ »ç¿ëµÇ±â À§Çؼ XDR·Î ÀÎÄÚµùµÇ´Â°ÍÀÌ ´Ù¸¥Á¡ÀÌ´Ù.
Method Summary | |
byte[] |
decryptContent(X509Certificate cert,
PKCS8PrivateKeyInfo priKey)
µ¥ÀÌÅ͸¦ º¹È£ÈÇÏ¿© Æò¹® µ¥ÀÌÅ͸¦ ȹµæÇÑ´Ù. |
byte[] |
getCipherEncryptedContent()
¾ÏÈ£ÈµÈ ¸Þ½ÃÁö¸¦ ȹµæÇÑ´Ù. |
java.security.Key |
getContentEncryptionAlg_Key()
¸Þ½ÃÁö¸¦ ¾ÏÈ£ÈÇϴµ¥ »ç¿ëµÈ ´ëĪŰ Á¤º¸¸¦ ȹµæÇÑ´Ù. |
java.security.spec.AlgorithmParameterSpec |
getContentEncryptionAlg_Parmateter()
¸Þ½ÃÁö¸¦ ¾ÏÈ£ÈÇϴµ¥ »ç¿ëµÈ ´ëĪŰÀÇ ÆÄ¶ó¸ÞÅÍ Á¤º¸¸¦ ȹµæÇÑ´Ù. |
byte[] |
getEncoded()
XDR ÀÎÄÚµùµÈ WapEnvelopedData¸¦ ȹµæÇÑ´Ù. |
byte[] |
getEncryptedKey()
¾ÏÈ£ÈµÈ ´ëĪ۸¦ ȹµæÇÑ´Ù. |
static WapEnvelopedData |
getInstance(byte[] encoded)
XDR·Î ÀÎÄÚµùµÇ¾îÀÖ´Â WapEnvelopedData¸¦ ÀÔ·ÂÇÏ¿© WapEnvelopedData °´Ã¼¸¦ »ý¼ºÇÑ´Ù. |
java.lang.String |
getKeyManagementAlgorithm()
¸Þ½ÃÁö¸¦ ¾Ïȣȴµ¥ »ç¿ëµÈ ´ëĪ۸¦ ¾ÏÈ£ÈÇϴµ¥ »ç¿ëµÈ ¾Ë°í¸®ÁòÀ» ȹµæÇÑ´Ù. |
byte[] |
getRid_issuerSerNo()
¸Þ½ÃÁöÀÇ ¼ö½ÅÀÚ ½Äº°ÀÚ Áß ÀÎÁõ¼ ¹ß±ÞÀÚ À̸§°ú ÀϷùøÈ£¸¦ È®ÀÎÇÑ´Ù. |
byte[] |
getRid_subjKeyId()
¸Þ½ÃÁöÀÇ ¼ö½ÅÀÚ ½Äº°ÀÚ Áß ÀÎÁõ¼ °ø°³Å° ½Äº°ÀÚ¸¦ È®ÀÎÇÑ´Ù. |
int |
getVersion()
WapEnvelopedDataÀÇ ¹öÀüÀ» È®ÀÎÇÑ´Ù. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static WapEnvelopedData getInstance(byte[] encoded) throws ParsingException
encoded
- XDR·Î ÀÎÄÚµù µÇ¾îÀÖ´Â WapEnvelopedData
ParsingException
- µ¥ÀÌÅÍ µðÄÚµù ½ÇÆÐ½Ã ¹ß»ýpublic byte[] getEncoded()
public byte[] decryptContent(X509Certificate cert, PKCS8PrivateKeyInfo priKey) throws java.io.IOException, NotForUserException, java.security.NoSuchProviderException, java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException, java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
cert
- ¼ö½ÅÀÚÀÇ ¾Ïȣȿë ÀÎÁõ¼priKey
- ¼ö½ÅÀÚÀÇ ¾ÏÈ£È¿ë °³ÀÎŰ
java.io.IOException
- ÀÎÁõ¼ µðÄÚµù ½ÇÆÐ½Ã ¹ß»ý
NotForUserException
- ÁöÁ¤ÇÑ ÀÎÁõ¼°¡ ¾Ïȣȿ¡ »ç¿ëµÈ ÀÎÁõ¼°¡ ¾Æ´Ñ°æ¿ì¿¡ ¹ß»ý
java.security.NoSuchAlgorithmException
- Áö¿øµÇÁö ¾Ê´Â ¼¸í ¾Ë°í¸®ÁòÀÌ »ç¿ëµÇ¾úÀ» °æ¿ì¿¡ ¹ß»ý
java.security.NoSuchProviderException
- Áö¿øÇÏÁö ¾Ê´Â ¾ÏÈ£ ¸ðµâ Á¦°øÀÚÀÏ °æ¿ì¿¡ ¹ß»ý
javax.crypto.NoSuchPaddingException
- Áö¿øÇÏÁö ¾Ê´Â ÆÐµù Á¾·ùÀÏ °æ¿ì¿¡ ¹ß»ý
javax.crypto.IllegalBlockSizeException
- ÀÔ·Â µ¥ÀÌÅÍÀÇ ±æÀ̰¡ ºí·° ¾Ë°í¸®Áò¿¡ ÀûÇÕÇÏÁö ¾Ê´Â °æ¿ì¿¡ ¹ß»ý
javax.crypto.BadPaddingException
- ÀԷ°ªÀÌ ÁöÁ¤µÈ ÆÐµù ŸÀÔÀ¸·Î ÆÐµù µÇ¾îÀÖÁö ¾ÊÀº °æ¿ì¿¡ ¹ß»ý
java.security.InvalidKeyException
- ¾Ë°í¸®Áò¿¡ ´ëÇÑ ÀûÇÕÇÑ Å°(À߸øµÈ ÀÎÄÚµù, À߸øµÈ ±æÀÌ, ÃʱâÈ µÇÁö ¾ÊÀ½ µî)°¡ ¾Æ´Ñ °æ¿ì¿¡ ¹ß»ý
java.security.InvalidAlgorithmParameterException
- ¾Ë°í¸®Áò ÆÄ¶ó¸ÞÅͰ¡ ÀûÇÕÇÏÁö ¾ÊÀº °æ¿ì¿¡ ¹ß»ýpublic int getVersion()
public java.security.Key getContentEncryptionAlg_Key()
public java.security.spec.AlgorithmParameterSpec getContentEncryptionAlg_Parmateter()
public byte[] getRid_subjKeyId()
public byte[] getRid_issuerSerNo()
public byte[] getCipherEncryptedContent()
public java.lang.String getKeyManagementAlgorithm()
public byte[] getEncryptedKey()
|
JCaosLib V1.4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |