From e46353e7f6e69aafd4260aa0c2c5ecb21c24212c Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 3 May 2022 13:11:06 +0700 Subject: Provide getter for native certificate instance --- crypto/src/tls/crypto/impl/bc/BcTlsCertificate.cs | 5 +++++ 1 file changed, 5 insertions(+) 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; } + } + /// public virtual byte[] GetEncoded() { -- cgit 1.4.1