GBT35275DSContainer@Deprecated public class DigitalSignContainer extends Object implements ExtendSignatureContainer
| 构造器和说明 |
|---|
DigitalSignContainer(PrivateKey prvKey)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
MessageDigest |
getDigestFnc()
已过时。
SM3摘要算法功能
|
byte[] |
getSeal()
已过时。
电子签名不提供印章
|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getSignAlgOID()
已过时。
SM2WithSM3
|
org.ofdrw.core.signatures.SigType |
getSignType()
已过时。
获取签名节点类型
|
byte[] |
sign(InputStream inData,
String propertyInfo)
已过时。
对待签名数据签名
|
public DigitalSignContainer(PrivateKey prvKey)
public MessageDigest getDigestFnc()
getDigestFnc 在接口中 ExtendSignatureContainerpublic org.bouncycastle.asn1.ASN1ObjectIdentifier getSignAlgOID()
getSignAlgOID 在接口中 ExtendSignatureContainerpublic byte[] sign(InputStream inData, String propertyInfo) throws GeneralSecurityException, IOException
sign 在接口中 ExtendSignatureContainerinData - 待签名数据流propertyInfo - 忽略IOException - IO流读取异常SecurityException - 签名计算异常GeneralSecurityException - 签名计算异常public byte[] getSeal()
throws IOException
getSeal 在接口中 ExtendSignatureContainerIOException - 获取印章IO异常public org.ofdrw.core.signatures.SigType getSignType()
getSignType 在接口中 ExtendSignatureContainerCopyright © 2023. All rights reserved.