|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xecure.crypto.FileSignVerifier
ÀÌ Å¬·¡½º´Â ÀüÀÚ¼¸íµÈ ÈÀÏÀ» ÇØ¼®ÇÏ°í °ËÁõÇÑ´Ù.
Constructor Summary | |
FileSignVerifier(XecureConfig config,
java.lang.String fileName)
FileSignVerifier object ¸¦ »ý¼ºÇÏ°í µ¿½Ã¿¡ ÀüÀÚ¼¸íµÈ ÈÀÏ¿¡ ´ëÇÑ ÇØ¼®¹× °ËÁõÀ» ¼öÇàÇÑ´Ù. getLastError() °¡ 0 ÀÌ ¾Æ´Ñ °ªÀ» ¸®ÅÏÇÒ °æ¿ì¿¡´Â ¼¸íµÈ ÈÀÏ¿¡ ¹®Á¦°¡ ÀÖ´Â °æ¿ìÀÌ´Ù. getLastError() °¡ 0 À» ¸®ÅÏÇÒ °æ¿ì ¼¸íÀÚ ÀÎÁõ¼¸¦ ¾òÀ» ¼ö ÀÖ´Ù. |
|
FileSignVerifier(XecureConfig config,
java.lang.String fileName,
java.lang.String cadn,
java.lang.String operaterId)
FileSignVerifier object ¸¦ »ý¼ºÇÏ°í µ¿½Ã¿¡ ÀüÀÚ¼¸íµÈ ¸Þ½ÃÁö¿¡ ´ëÇÑ ÇØ¼®¹× °ËÁõÀ» ¼öÇàÇÑ´Ù. getLastError() °¡ 0 ÀÌ ¾Æ´Ñ °ªÀ» ¸®ÅÏÇÒ °æ¿ì¿¡´Â ¼¸íµÈ ÈÀÏ¿¡ ¹®Á¦°¡ ÀÖ´Â °æ¿ìÀÌ´Ù. getLastError() °¡ 0 À» ¸®ÅÏÇÒ °æ¿ì ¼¸íÀÚ ÀÎÁõ¼¸¦ ¾òÀ» ¼ö ÀÖ´Ù. |
Method Summary | |
int |
getLastError()
ÀüÀÚ¼¸í °ËÁõ½Ã ¿¡·¯°¡ ¹ß»ýÇÒ °æ¿ì ¿¡·¯Äڵ尡 ¸®ÅϵȴÙ. |
java.lang.String |
getLastErrorMsg()
ÀüÀÚ¼¸í °ËÁõ½Ã ¿¡·¯°¡ ¹ß»ýÇÑ °æ¿ì ¿¡·¯ ¸Þ½ÃÁö¸¦ ¾òÀ» ¼ö ÀÖ´Ù. |
java.util.Date |
getOrgFileDate()
¼¸íµÈ ÈÀÏÀÇ ½Ã°£ Á¤º¸¸¦ ¸®ÅÏÇÑ´Ù. |
long |
getOrgFileLength()
¼¸íµÈ ÈÀÏÀÇ ¿ø½Ã ÈÀÏ ±æÀ̸¦ ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getOrgFileName()
¼¸íµÈ ÈÀÏÀÇ ¿ø½Ã ÈÀϸíÀ» ¸®ÅÏÇÑ´Ù. |
Certificate |
getSignerCertificate()
¼¸íÀÚÀÇ ÀÎÁõ¼¸¦ ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getSignTimeMsg()
¼¸í ½Ã°£ ¸Þ½ÃÁö¸¦ ³ªÅ¸³½´Ù. |
java.lang.String |
getTimeStampAccuracy()
ŸÀÓ½ºÅÆÇÁ ¸Þ½ÃÁöÀÇ Á¤È®¼º ¸Þ½ÃÁö¸¦ ³ªÅ¸³½´Ù. |
java.lang.String |
getTimeStampMsg()
ŸÀÓ½ºÅÆÇÁ ¸Þ½ÃÁö¸¦ ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getUserID()
ÀüÀÚ¼¸íÇÑ »ç¿ëÀÚÀÇ ID ¸¦ ¸®ÅÏÇÑ´Ù. |
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 FileSignVerifier(XecureConfig config, java.lang.String fileName)
config
- XecureConfig objectfileName
- ÀüÀÚ¼¸íµÈ ÈÀÏ °æ·Î¸ípublic FileSignVerifier(XecureConfig config, java.lang.String fileName, java.lang.String cadn, java.lang.String operaterId)
config
- XecureConfig objectfileName
- ÀüÀÚ¼¸íµÈ ÈÀÏ °æ·Î¸íoperaterId
- ±â°ü½Äº°ÀÚMethod Detail |
public int getLastError()
public java.lang.String getLastErrorMsg()
public Certificate getSignerCertificate()
public java.lang.String getUserID()
public java.lang.String getTimeStampMsg()
public java.lang.String getTimeStampAccuracy()
public java.lang.String getSignTimeMsg()
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 |