public DigestInfo(byte[] asn1der)
            {
                var asnReader = new AsnReader(asn1der, AsnEncodingRules.DER).ReadSequence();

                this.digestAlgorithm = new DigestAlgorithmIdentifier(asnReader);
                this.digest          = asnReader.ReadOctetString();

                asnReader.ThrowIfNotEmpty();
            }
 public DigestInfo(DigestAlgorithmIdentifier digestAlgorithm, Digest digest)
     : base(digestAlgorithm, digest)
 {
 }