summary refs log tree commit diff
path: root/crypto/src/asn1/pkcs/PrivateKeyInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/pkcs/PrivateKeyInfo.cs')
-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 ba9ef6a53..c5c7c3a2f 100644
--- a/crypto/src/asn1/pkcs/PrivateKeyInfo.cs
+++ b/crypto/src/asn1/pkcs/PrivateKeyInfo.cs
@@ -167,6 +167,11 @@ namespace Org.BouncyCastle.Asn1.Pkcs
             get { return privateKeyAlgorithm; }
         }
 
+        public virtual Asn1OctetString PrivateKeyData
+        {
+            get { return privateKey; }
+        } 
+
         public virtual Asn1Object ParsePrivateKey()
         {
             return Asn1Object.FromByteArray(privateKey.GetOctets());