コード例 #1
0
        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);
            }
        }
コード例 #2
0
 public CertStatus(
     RevokedInfo info)
 {
     tagNo = 1;
     value = info;
 }