summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2018-08-06 13:09:09 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2018-08-06 13:09:09 +0700
commit04db7590d740d52c8a114ca8f7d64f60b9f94c54 (patch)
treecbca2406412efcf1122b037bcbd879b86fb097c5
parentTLS: Use DH group whitelisting (diff)
parentMerge branch 'master' of https://github.com/agpreynolds/bc-csharp into agprey... (diff)
downloadBouncyCastle.NET-ed25519-04db7590d740d52c8a114ca8f7d64f60b9f94c54.tar.xz
Merge branch 'agpreynolds-master'
-rw-r--r--crypto/src/asn1/cmp/PollRepContent.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/crypto/src/asn1/cmp/PollRepContent.cs b/crypto/src/asn1/cmp/PollRepContent.cs
index f8bb098a2..ff75d7d6d 100644
--- a/crypto/src/asn1/cmp/PollRepContent.cs
+++ b/crypto/src/asn1/cmp/PollRepContent.cs
@@ -33,6 +33,25 @@ namespace Org.BouncyCastle.Asn1.Cmp
             throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj");
 		}
 
+	    public PollRepContent(
+	        DerInteger certReqId,
+	        DerInteger checkAfter)
+	    {
+	        this.certReqId = certReqId;
+	        this.checkAfter = checkAfter;
+	        this.reason = null;
+	    }
+
+        public PollRepContent(
+	        DerInteger certReqId,
+	        DerInteger checkAfter,
+	        PkiFreeText reason)
+	    {
+	        this.certReqId = certReqId;
+	        this.checkAfter = checkAfter;
+	        this.reason = reason;
+	    }
+
 		public virtual DerInteger CertReqID
 		{
 			get { return certReqId; }