Here are the examples of the java api class com.google.bitcoin.bouncycastle.asn1.x509.DigestInfo taken from open source projects.
1. RSADigestSigner#derEncode()
Project: bitcoin-android
File: RSADigestSigner.java
File: RSADigestSigner.java
private byte[] derEncode(byte[] hash) { DigestInfo dInfo = new DigestInfo(algId, hash); return dInfo.getDEREncoded(); }