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