use of org.gudy.bouncycastle.asn1.x509.DigestInfo in project BiglyBT by BiglySoftware.
the class JDKDigestSignature method derDecode.
private DigestInfo derDecode(byte[] encoding) throws IOException {
ByteArrayInputStream bIn = new ByteArrayInputStream(encoding);
DERInputStream dIn = new DERInputStream(bIn);
return new DigestInfo((ASN1Sequence) dIn.readObject());
}
Aggregations