summary refs log tree commit diff
path: root/crypto/src/asn1/crmf/PopoPrivKey.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/crmf/PopoPrivKey.cs')
-rw-r--r--crypto/src/asn1/crmf/PopoPrivKey.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/src/asn1/crmf/PopoPrivKey.cs b/crypto/src/asn1/crmf/PopoPrivKey.cs
index 95a4484de..e7cef784c 100644
--- a/crypto/src/asn1/crmf/PopoPrivKey.cs
+++ b/crypto/src/asn1/crmf/PopoPrivKey.cs
@@ -47,6 +47,12 @@ namespace Org.BouncyCastle.Asn1.Crmf
             return new PopoPrivKey(Asn1TaggedObject.GetInstance(tagged, true));
         }
 
+        public PopoPrivKey(PKMacValue pkMacValue)
+        {
+            this.tagNo = agreeMAC;
+            this.obj = pkMacValue;
+        }
+
         public PopoPrivKey(SubsequentMessage msg)
         {
             this.tagNo = subsequentMessage;