summary refs log tree commit diff
path: root/crypto/src/pkix/CertStatus.cs
blob: aff1b18575b54a548d7932c8382fe21916442239 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;

namespace Org.BouncyCastle.Pkix
{
    public class CertStatus
    {
        public const int Unrevoked = 11;

        public const int Undetermined = 12;

        private int status = Unrevoked;

        DateTime? revocationDate = null;

        /// <summary>
        /// Returns the revocationDate.
        /// </summary>
         public DateTime? RevocationDate
        {
            get { return revocationDate; }
            set { this.revocationDate = value; }
        }

		/// <summary>
        /// Returns the certStatus.
        /// </summary>
        public int Status
        {
            get { return status; }
            set { this.status = value; }
        }
    }
}