public static AlgorithmIdentifier GetInstance( Asn1TaggedObject obj, bool explicitly) { return GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); }
private DigestInfo(Asn1Sequence seq) { if (seq.Count != 2) { throw new ArgumentException("Wrong number of elements in sequence", "seq"); } this.algID = AlgorithmIdentifier.GetInstance(seq[0]); this.digest = Asn1OctetString.GetInstance(seq[1]).GetOctets(); }