public interface ExtendSignatureContainer
| 限定符和类型 | 方法和说明 |
|---|---|
MessageDigest |
getDigestFnc()
提供文件的摘要算法功能
|
byte[] |
getSeal()
获取电子印章二进制编码
如果
getSignType() 返还类型为SigType.Sign那么请返回null |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getSignAlgOID()
签名方法OID
|
org.ofdrw.core.signatures.SigType |
getSignType()
获取签名节点类型
|
byte[] |
sign(InputStream inData,
String propertyInfo)
对待签名数据签名
在操作过程中请勿对流进行关闭
|
MessageDigest getDigestFnc()
org.bouncycastle.asn1.ASN1ObjectIdentifier getSignAlgOID()
byte[] sign(InputStream inData, String propertyInfo) throws IOException, GeneralSecurityException
在操作过程中请勿对流进行关闭
inData - 待签名数据流propertyInfo - 签章属性信息IOException - 流操作异常GeneralSecurityException - 签名计算异常byte[] getSeal()
throws IOException
如果getSignType() 返还类型为SigType.Sign那么请返回null
IOException - 获取印章IO异常org.ofdrw.core.signatures.SigType getSignType()
Copyright © 2024. All rights reserved.