summary refs log tree commit diff
path: root/crypto/src/asn1
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2020-07-30 20:19:37 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2020-07-30 20:19:37 +0700
commit0d3f1208b3f22329da901bd8764297673c6ae970 (patch)
tree11bd82392fc34db1180d51aab2be97da02158c3c /crypto/src/asn1
parentPGP updates from bc-java (diff)
downloadBouncyCastle.NET-ed25519-0d3f1208b3f22329da901bd8764297673c6ae970.tar.xz
Misc. updates from bc-java
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r--crypto/src/asn1/pkcs/PrivateKeyInfo.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/pkcs/PrivateKeyInfo.cs b/crypto/src/asn1/pkcs/PrivateKeyInfo.cs
index c5c7c3a2f..d52a31f73 100644
--- a/crypto/src/asn1/pkcs/PrivateKeyInfo.cs
+++ b/crypto/src/asn1/pkcs/PrivateKeyInfo.cs
@@ -151,6 +151,11 @@ namespace Org.BouncyCastle.Asn1.Pkcs
             }
         }
 
+        public virtual DerInteger Version
+        {
+            get { return version; }
+        }
+
         public virtual Asn1Set Attributes
         {
             get { return attributes; }