public CertStatus( Asn1TaggedObject choice) { this.tagNo = choice.TagNo; switch (choice.TagNo) { case 1: value = RevokedInfo.GetInstance(choice, false); break; case 0: case 2: value = DerNull.Instance; break; default: throw new ArgumentException("Unknown tag encountered: " + choice.TagNo); } }
public CertStatus( RevokedInfo info) { tagNo = 1; value = info; }