|
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.SignedContent
SignedContent¸¦ ó¸®Çϱâ À§ÇÑ Å¬·¡½ºÀÌ´Ù.
SignedContent´Â ¸Þ½ÃÁöÀÇ ¹«°á¼º ¹× ÀÎÁõÀ» À§Çؼ »ç¿ëµÇ´Â SignedData¿Í ¸Þ½ÃÁö ±¸Á¶¿Í ºñ½ÁÇϳª,
SignedContent´Â ¸Þ½ÃÁöÀÇ »çÀÌÁî¿¡ ¹Î°¨ÇÑ ¹«¼±È¯°æ¿¡¼ »ç¿ëµÇ±â À§Çؼ XDR·Î ÀÎÄÚµùµÇ´Â°ÍÀÌ ´Ù¸¥Á¡ÀÌ´Ù.
Method Summary | |
byte[] |
getContent()
¿øº» ¸Þ½ÃÁö¸¦ ȹµæÇÑ´Ù. |
java.lang.String |
getContentType()
¿øº» ¸Þ½ÃÁö Á¾·ù¸¦ ȹµæÇÑ´Ù. |
byte[] |
getEncoded()
XDR ÀÎÄÚµùµÈ SignedContent¸¦ ȹµæÇÑ´Ù. |
java.util.Date |
getGmtUtcTime()
SignedContent »ý¼º ½Ã°£À» ȹµæÇÑ´Ù. |
static SignedContent |
getInstance(byte[] encoded)
XDR·Î ÀÎÄÚµùµÇ¾îÀÖ´Â SignedContent¸¦ ÀÔ·ÂÇÏ¿© SignedContent °´Ã¼¸¦ »ý¼ºÇÑ´Ù. |
byte[] |
getSignature()
¼¸í°ªÀ» ȹµæÇÑ´Ù. |
java.lang.String |
getSignatureAlg()
¼¸í ¾Ë°í¸®ÁòÀ» ȹµæÇÑ´Ù. |
X509Certificate |
getSignerCertificate()
¼¸íÀÚÀÇ ÀÎÁõ¼¸¦ ȹµæÇÑ´Ù. |
java.lang.String |
getSignerCertificateUrl()
¼¸íÀÚÀÇ ÀÎÁõ¼°¡ °Ô½ÃµÇ¾îÀÖ´Â À§Ä¡¸¦ ȹµæÇÑ´Ù. |
byte[] |
getSignerNonce()
¼¸íÀÚ°¡ »ý¼ºÇÑ ·£´ý°ªÀ» ȹµæÇÑ´Ù. |
int |
getVersion()
SignedContentÀÇ ¹öÀüÀ» ȹµæÇÑ´Ù. |
void |
verify()
¼¸í°ªÀ» °ËÁõÇÑ´Ù. |
void |
verify(X509Certificate cert)
¼¸í°ªÀ» °ËÁõÇÑ´Ù. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static SignedContent getInstance(byte[] encoded) throws ParsingException
encoded
- XDR·Î ÀÎÄÚµù µÇ¾îÀÖ´Â SigendContent
ParsingException
- µ¥ÀÌÅÍ µðÄÚµù ½ÇÆÐ½Ã ¹ß»ýpublic byte[] getEncoded()
public int getVersion()
public java.lang.String getSignatureAlg()
public byte[] getSignature()
public java.lang.String getSignerCertificateUrl()
public X509Certificate getSignerCertificate() throws java.io.IOException
java.io.IOException
- ÀÎÁõ¼ µðÄÚµù ½ÇÆÐ½Ã ¹ß»ýpublic java.lang.String getContentType()
public byte[] getContent()
public java.util.Date getGmtUtcTime() throws java.text.ParseException
java.text.ParseException
- ½Ã°£ Á¤º¸ ó¸® ½ÇÆÐ½Ã ¹ß»ýpublic byte[] getSignerNonce()
public void verify() throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.spec.InvalidKeySpecException, java.security.InvalidKeyException, java.security.SignatureException, ParsingException, VerifyException, java.io.IOException
java.security.NoSuchAlgorithmException
- Áö¿øµÇÁö ¾Ê´Â ¼¸í ¾Ë°í¸®ÁòÀÌ »ç¿ëµÇ¾úÀ» °æ¿ì¿¡ ¹ß»ý
java.security.NoSuchProviderException
- Áö¿øÇÏÁö ¾Ê´Â ¾ÏÈ£ ¸ðµâ Á¦°øÀÚÀÏ °æ¿ì¿¡ ¹ß»ý
java.security.spec.InvalidKeySpecException
- ÀûÇÕÇÏÁö ¾ÊÀº Ű Á¤º¸ÀÎ °æ¿ì¿¡ ¹ß»ý
java.security.InvalidKeyException
- ¾Ë°í¸®Áò¿¡ ´ëÇÑ ÀûÇÕÇÑ Å°(À߸øµÈ ÀÎÄÚµù, À߸øµÈ ±æÀÌ, ÃʱâÈ µÇÁö ¾ÊÀ½ µî)°¡ ¾Æ´Ñ °æ¿ì¿¡ ¹ß»ý
java.security.SignatureException
- ÀϹÝÀûÀÎ ¼¸í°ú °ü·ÃÇÑ ¿¹¿Ü »çÇ× ¹ß»ýÇÑ °æ¿ì ¹ß»ý
ParsingException
- ¼¸íÀÚÀÇ ÀÎÁõ¼°¡ ¸Þ½ÃÁö¿¡ Æ÷ÇԵǾî ÀÖÁö ¾ÊÀº °æ¿ì¿¡ ¹ß»ý
VerifyException
- ¼¸í °ËÁõ ½ÇÆÐ ½Ã ¹ß»ý
java.io.IOException
- µðÄÚµù ½ÇÆÐ ½Ã ¹ß»ýpublic void verify(X509Certificate cert) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.spec.InvalidKeySpecException, java.security.InvalidKeyException, java.security.SignatureException, VerifyException, java.io.IOException
cert
- ¼¸íÀÚÀÇ ÀÎÁõ¼
java.security.NoSuchAlgorithmException
- Áö¿øµÇÁö ¾Ê´Â ¼¸í ¾Ë°í¸®ÁòÀÌ »ç¿ëµÇ¾úÀ» °æ¿ì¿¡ ¹ß»ý
java.security.NoSuchProviderException
- Áö¿øÇÏÁö ¾Ê´Â ¾ÏÈ£ ¸ðµâ Á¦°øÀÚÀÏ °æ¿ì¿¡ ¹ß»ý
java.security.spec.InvalidKeySpecException
- ÀûÇÕÇÏÁö ¾ÊÀº Ű Á¤º¸ÀÎ °æ¿ì¿¡ ¹ß»ý
java.security.InvalidKeyException
- ¾Ë°í¸®Áò¿¡ ´ëÇÑ ÀûÇÕÇÑ Å°(À߸øµÈ ÀÎÄÚµù, À߸øµÈ ±æÀÌ, ÃʱâÈ µÇÁö ¾ÊÀ½ µî)°¡ ¾Æ´Ñ °æ¿ì¿¡ ¹ß»ý
java.security.SignatureException
- ÀϹÝÀûÀÎ ¼¸í°ú °ü·ÃÇÑ ¿¹¿Ü »çÇ× ¹ß»ýÇÑ °æ¿ì ¹ß»ý
VerifyException
- ¼¸í °ËÁõ ½ÇÆÐ ½Ã ¹ß»ý
java.io.IOException
- µðÄÚµù ½ÇÆÐ ½Ã ¹ß»ý
|
JCaosLib V1.4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |