|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xecure.crypto.FileMultiSignVerifier
ÀÌ Å¬·¡½º´Â ÀüÀÚ¼¸íµÈ ÈÀÏÀ» ÇØ¼®ÇÏ°í °ËÁõÇÑ´Ù.
Constructor Summary | |
FileMultiSignVerifier(XecureConfig config,
byte[] splitedSign,
java.lang.String contentFileName,
byte[][] certDer)
FileMultiSignVerifier object ¸¦ »ý¼ºÇÏ°í ºÐ¸®µÈ ÈÀϼ¸í¿¡ ´ëÇÑ ÇØ¼®¹× °ËÁõÀ» ¼öÇàÇÑ´Ù. |
|
FileMultiSignVerifier(XecureConfig config,
byte[] splitedSign,
java.lang.String contentFileName,
java.lang.String[] certPem)
FileMultiSignVerifier object ¸¦ »ý¼ºÇÏ°í ºÐ¸®µÈ ÈÀϼ¸í¿¡ ´ëÇÑ ÇØ¼®¹× °ËÁõÀ» ¼öÇàÇÑ´Ù. |
|
FileMultiSignVerifier(XecureConfig config,
java.lang.String fileName)
FileMultiSignVerifier object ¸¦ »ý¼ºÇÏ°í µ¿½Ã¿¡ ÀüÀÚ¼¸íµÈ ÈÀÏ¿¡ ´ëÇÑ ÇØ¼®¹× °ËÁõÀ» ¼öÇàÇÑ´Ù. ÀÎÁõ¼ °ËÁõÀº ¼öÇàÇÏÁö ¾ÊÀ¸¹Ç·Î º°µµ·Î °ËÁõÇØ¾ß ÇÑ´Ù. getLastError() °¡ 0 ÀÌ ¾Æ´Ñ °ªÀ» ¸®ÅÏÇÒ °æ¿ì¿¡´Â ¼¸íµÈ ¸Þ½ÃÁö¿¡ ¹®Á¦°¡ ÀÖ´Â °æ¿ìÀÌ´Ù. getLastError() °¡ 0 À» ¸®ÅÏÇÒ °æ¿ì ¼¸íÀÚ ÀÎÁõ¼, ¼¸í¿¡ »ç¿ëµÈ ¹®¼ ¸¦ ¾òÀ» ¼ö ÀÖ´Ù. |
Method Summary | |
int |
getLastError()
ÀüÀÚ¼¸í °ËÁõ½Ã ¿¡·¯°¡ ¹ß»ýÇÒ °æ¿ì ¿¡·¯Äڵ尡 ¸®ÅϵȴÙ. |
java.lang.String |
getLastErrorMsg()
ÀüÀÚ¼¸í °ËÁõ½Ã ¿¡·¯°¡ ¹ß»ýÇÑ °æ¿ì ¿¡·¯ ¸Þ½ÃÁö¸¦ ¾òÀ» ¼ö ÀÖ´Ù. |
int |
getNumberOfSigner()
¸ÖƼ¼¸íÀÚÀÇ ¼ö¸¦ ¸®ÅÏÇÑ´Ù. |
java.util.Date |
getOrgFileDate()
¼¸íµÈ ÈÀÏÀÇ ½Ã°£ Á¤º¸¸¦ ¸®ÅÏÇÑ´Ù. |
long |
getOrgFileLength()
¼¸íµÈ ÈÀÏÀÇ ¿ø½Ã ÈÀÏ ±æÀ̸¦ ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getOrgFileName()
¼¸íµÈ ÈÀÏÀÇ ¿ø½Ã ÈÀϸíÀ» ¸®ÅÏÇÑ´Ù. |
Certificate |
getSignerCertificate(int index)
¸ÖƼ¼¸íÀÚÀÇ ÀÎÁõ¼¸¦ ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getSignerCertificateS(int index)
¸ÖƼ¼¸íÀÚÀÇ ÀÎÁõ¼¸¦ PEM Çü½ÄÀÇ ½ºÆ®¸µÀ¸·Î ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getSignerSubject(int index)
¸ÖƼ¼¸íÀÚÀÇ subject DN À» ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getSignTimeMsg(int index)
¸ÖƼ¼¸íÀÇ ¼¸í ½Ã°£À» ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getVerifiedMsg_Text()
¼¸íµÇ±âÀü Text ¹®¼ ¿øº»À» ¸®ÅÏÇÑ´Ù. |
byte[] |
getVerifiedMsg()
¼¸íµÇ±âÀü Binary ¹®¼ ¿øº»À» ¸®ÅÏÇÑ´Ù. |
int |
read(byte[] buf)
¼¸íµÈ ÈÀÏÀÇ ³»¿ëÀ» Àд´Ù. |
int |
read(byte[] buf,
int off,
int len)
¼¸íµÈ ÈÀÏÀÇ ³»¿ëÀ» Àд´Ù. |
void |
resetRead()
¼¸íµÈ ÈÀÏÀ» Àбâ À§ÇÑ ÃʱâÈ ÀÛ¾÷À» ¼öÇàÇÑ´Ù. óÀ½ºÎÅÍ ´Ù½Ã Àд °æ¿ì »ç¿ëÇÒ ¼ö ÀÖ´Ù. |
boolean |
saveFile(boolean overwrite)
¼¸íµÈ ÈÀÏÀÇ ³»¿ëÀ» ÀúÀåÇÑ´Ù. |
boolean |
saveFile(java.lang.String fileName,
boolean overwrite)
¼¸íµÈ ÈÀÏÀÇ ³»¿ëÀ» ÀúÀåÇÑ´Ù. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FileMultiSignVerifier(XecureConfig config, byte[] splitedSign, java.lang.String contentFileName, byte[][] certDer)
config
- XecureConfig objectsplitedSign
- ºÐ¸®µÈ ¼ø¼ö ¼¸í¹® (DER encoded)contentFileName
- ¿øº»ÈÀÏÀÇ °æ·Î¸ícertDer
- º´ÇÕÇÒ ÀÎÁõ¼ (DER), º¹¼ö°³ÀÇ ÀÎÁõ¼¸¦ º´ÇÕÇÒ ¼ö ÀÖµµ·Ï byte[][] ÀÔ·Â.getLastError()
,
getLastErrorMsg()
public FileMultiSignVerifier(XecureConfig config, byte[] splitedSign, java.lang.String contentFileName, java.lang.String[] certPem)
config
- XecureConfig objectsplitedSign
- ºÐ¸®µÈ ¼ø¼ö ¼¸í¹® (DER encoded)contentFileName
- ¿øº»ÈÀÏÀÇ °æ·Î¸ícertPem
- º´ÇÕÇÒ ÀÎÁõ¼ (PEM), º¹¼ö°³ÀÇ ÀÎÁõ¼¸¦ º´ÇÕÇÒ ¼ö ÀÖµµ·Ï String[] ÀÔ·Â.getLastError()
,
getLastErrorMsg()
public FileMultiSignVerifier(XecureConfig config, java.lang.String fileName)
config
- XecureConfig objectfileName
- ÀüÀÚ¼¸íµÈ ÈÀÏ °æ·Î¸íMethod Detail |
public int getLastError()
public java.lang.String getLastErrorMsg()
public Certificate getSignerCertificate(int index)
index
- ¼¸íÀÚÀÇ À妽º¸¦ ³ªÅ¸³¿ (0ºÎÅÍ ½ÃÀÛ)public java.lang.String getSignerCertificateS(int index)
index
- ¼¸íÀÚÀÇ À妽º¸¦ ³ªÅ¸³¿ (0ºÎÅÍ ½ÃÀÛ)public java.lang.String getSignerSubject(int index)
index
- ¼¸íÀÚÀÇ À妽º¸¦ ³ªÅ¸³¿ (0ºÎÅÍ ½ÃÀÛ)public java.lang.String getSignTimeMsg(int index)
index
- ¼¸íÀÚÀÇ À妽º¸¦ ³ªÅ¸³¿ (0ºÎÅÍ ½ÃÀÛ)public int getNumberOfSigner()
public byte[] getVerifiedMsg()
public java.lang.String getVerifiedMsg_Text()
public java.lang.String getOrgFileName() throws java.io.IOException
public long getOrgFileLength() throws java.io.IOException
public java.util.Date getOrgFileDate() throws java.io.IOException
public int read(byte[] buf) throws java.io.IOException
buf
- : the buffer into which the data is read.public int read(byte[] buf, int off, int len) throws java.io.IOException
buf
- : the buffer into which the data is read.off
- : the start offset of the data.len
- : the maximum number of bytes read.public boolean saveFile(boolean overwrite) throws java.io.IOException
overwrite
- µ¤¾î¾²±â ¿©ºÎpublic boolean saveFile(java.lang.String fileName, boolean overwrite) throws java.io.IOException
fileName
- ÀúÀåÇÒ ÈÀÏÀ̸§overwrite
- µ¤¾î¾²±â ¿©ºÎpublic void resetRead() throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |