diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-28 20:49:58 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-28 20:49:58 +0700 |
commit | dc5029c8650432ae04df78d2ead06a8349176b74 (patch) | |
tree | 306f232f9cf53762ccb427225dee958313b884fd /crypto/src/tls/CertificateEntry.cs | |
parent | Generics migration in Ocsp, OpenPgp (diff) | |
download | BouncyCastle.NET-ed25519-dc5029c8650432ae04df78d2ead06a8349176b74.tar.xz |
Generics migration in Tls
Diffstat (limited to 'crypto/src/tls/CertificateEntry.cs')
-rw-r--r-- | crypto/src/tls/CertificateEntry.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/tls/CertificateEntry.cs b/crypto/src/tls/CertificateEntry.cs index b88677536..78bc4d3b9 100644 --- a/crypto/src/tls/CertificateEntry.cs +++ b/crypto/src/tls/CertificateEntry.cs @@ -1,5 +1,5 @@ using System; -using System.Collections; +using System.Collections.Generic; using Org.BouncyCastle.Tls.Crypto; @@ -8,9 +8,9 @@ namespace Org.BouncyCastle.Tls public sealed class CertificateEntry { private readonly TlsCertificate m_certificate; - private readonly IDictionary m_extensions; + private readonly IDictionary<int, byte[]> m_extensions; - public CertificateEntry(TlsCertificate certificate, IDictionary extensions) + public CertificateEntry(TlsCertificate certificate, IDictionary<int, byte[]> extensions) { if (null == certificate) throw new ArgumentNullException("certificate"); @@ -24,7 +24,7 @@ namespace Org.BouncyCastle.Tls get { return m_certificate; } } - public IDictionary Extensions + public IDictionary<int, byte[]> Extensions { get { return m_extensions; } } |