summary refs log tree commit diff
path: root/crypto/src/asn1/crmf/OptionalValidity.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/crmf/OptionalValidity.cs')
-rw-r--r--crypto/src/asn1/crmf/OptionalValidity.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/src/asn1/crmf/OptionalValidity.cs b/crypto/src/asn1/crmf/OptionalValidity.cs
index d1a0f7ffb..46fd1f860 100644
--- a/crypto/src/asn1/crmf/OptionalValidity.cs
+++ b/crypto/src/asn1/crmf/OptionalValidity.cs
@@ -33,6 +33,12 @@ namespace Org.BouncyCastle.Asn1.Crmf
             return new OptionalValidity(Asn1Sequence.GetInstance(obj));
         }
 
+        public OptionalValidity(Time notBefore, Time notAfter)
+        {
+            this.notBefore = notBefore;
+            this.notAfter = notAfter;
+        }
+
         public virtual Time NotBefore
         {
             get { return notBefore; }