Class CertSigHolder
java.lang.Object
org.ofdrw.gm.sm2strut.builder.CertSigHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.Certificate转换证书对象为ASN1结构对象byte[]voidsetCertificate(Certificate certificate) voidsetSignature(byte[] signature)
-
Constructor Details
-
CertSigHolder
-
-
Method Details
-
getSignature
public byte[] getSignature() -
setSignature
public void setSignature(byte[] signature) -
getCertificate
-
setCertificate
-
getAsn1Cert
public org.bouncycastle.asn1.x509.Certificate getAsn1Cert() throws CertificateEncodingException, IOException转换证书对象为ASN1结构对象- Returns:
- 证书 ASN1结构
- Throws:
CertificateEncodingException- 证书编码异常IOException- IO读写异常
-