示例#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;
            }
        }
示例#2
0
		public RevokedStatus(
			DateTime	revocationDate,
			int			reason)
		{
			this.info = new RevokedInfo(new DerGeneralizedTime(revocationDate), new CrlReason(reason));
		}
示例#3
0
		public RevokedStatus(
			RevokedInfo info)
		{
			this.info = info;
		}
示例#4
0
		public CertStatus(
            RevokedInfo info)
        {
            tagNo = 1;
            value = info;
        }
示例#5
0
 public CertStatus(
     RevokedInfo info)
 {
     tagNo = 1;
     value = info;
 }