summary refs log tree commit diff
path: root/Crypto/src/pkix/CertStatus.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Crypto/src/pkix/CertStatus.cs')
-rw-r--r--Crypto/src/pkix/CertStatus.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/Crypto/src/pkix/CertStatus.cs b/Crypto/src/pkix/CertStatus.cs
new file mode 100644

index 000000000..4f40b7bc6 --- /dev/null +++ b/Crypto/src/pkix/CertStatus.cs
@@ -0,0 +1,35 @@ +using System; + +using Org.BouncyCastle.Utilities.Date; + +namespace Org.BouncyCastle.Pkix +{ + public class CertStatus + { + public const int Unrevoked = 11; + + public const int Undetermined = 12; + + private int status = Unrevoked; + + DateTimeObject revocationDate = null; + + /// <summary> + /// Returns the revocationDate. + /// </summary> + public DateTimeObject RevocationDate + { + get { return revocationDate; } + set { this.revocationDate = value; } + } + + /// <summary> + /// Returns the certStatus. + /// </summary> + public int Status + { + get { return status; } + set { this.status = value; } + } + } +}