As per #2360 , please add a "@deprecated" with the explanation to use an InputStream instead as constructor argument
public CMSSignedData(
byte[] sigBlock)
throws CMSException
or clean it by
asn1In = new ASN1InputStream(is)
ASN1Primitive asn1Object = asn1In.readObject()
byte[] encoded = asn1Object.getEncoded();
return encoded
for example with a static
public static CMSSignedData getCMSSignedDataByCleandBA(byte[] sigBlock) {
As per #2360 , please add a "@deprecated" with the explanation to use an InputStream instead as constructor argument
or clean it by
for example with a static
public static CMSSignedData getCMSSignedDataByCleandBA(byte[] sigBlock) {