Class OFDIntegrity
java.lang.Object
org.ofdrw.crypto.integrity.OFDIntegrity
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()请务必在程序结束时调用该方法释放voidprotect(ProtectSigner signer) 对文件实行完整性保护
-
Constructor Details
-
OFDIntegrity
- Throws:
IOException
-
-
Method Details
-
protect
对文件实行完整性保护请在完成保护后务必调用
close()以清除工作过程中的临时文件!- Parameters:
signer- 签名实现- Throws:
IOException- IO操作异常GeneralSecurityException- 密码运算相关问题
-
close
请务必在程序结束时调用该方法释放工作过程中产生的临时文件
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException- 文件删除IO异常
-