summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-05-03 13:11:06 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-05-03 13:11:06 +0700
commite46353e7f6e69aafd4260aa0c2c5ecb21c24212c (patch)
tree28c1e7885898e77cadab03d61edbddd489e8e419 /crypto
parentAdd HasHkdfAlgorithm method and use in test (diff)
downloadBouncyCastle.NET-ed25519-e46353e7f6e69aafd4260aa0c2c5ecb21c24212c.tar.xz
Provide getter for native certificate instance
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/tls/crypto/impl/bc/BcTlsCertificate.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/tls/crypto/impl/bc/BcTlsCertificate.cs b/crypto/src/tls/crypto/impl/bc/BcTlsCertificate.cs
index d01bd5c51..469785dc2 100644
--- a/crypto/src/tls/crypto/impl/bc/BcTlsCertificate.cs
+++ b/crypto/src/tls/crypto/impl/bc/BcTlsCertificate.cs
@@ -173,6 +173,11 @@ namespace Org.BouncyCastle.Tls.Crypto.Impl.BC
             }
         }
 
+        public virtual X509CertificateStructure X509CertificateStructure
+        {
+            get { return m_certificate; }
+        }
+
         /// <exception cref="IOException"/>
         public virtual byte[] GetEncoded()
         {