Skip to content

Commit 04db759

Browse files
committed
Merge branch 'agpreynolds-master'
2 parents c0ee6b4 + ef07cb3 commit 04db759

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

crypto/src/asn1/cmp/PollRepContent.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,25 @@ public static PollRepContent GetInstance(object obj)
3333
throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj");
3434
}
3535

36+
public PollRepContent(
37+
DerInteger certReqId,
38+
DerInteger checkAfter)
39+
{
40+
this.certReqId = certReqId;
41+
this.checkAfter = checkAfter;
42+
this.reason = null;
43+
}
44+
45+
public PollRepContent(
46+
DerInteger certReqId,
47+
DerInteger checkAfter,
48+
PkiFreeText reason)
49+
{
50+
this.certReqId = certReqId;
51+
this.checkAfter = checkAfter;
52+
this.reason = reason;
53+
}
54+
3655
public virtual DerInteger CertReqID
3756
{
3857
get { return certReqId; }

0 commit comments

Comments
 (0)