From 49f328f2506bb887d2bd106face04bc8ee95ce6d Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 12 Jul 2022 14:26:13 +0700 Subject: Cleanup doc warnings --- crypto/src/tls/AbstractTlsClient.cs | 4 ++-- crypto/src/tls/CertificateRequest.cs | 8 ++++---- crypto/src/tls/CertificateStatus.cs | 2 +- crypto/src/tls/CertificateUrl.cs | 4 ++-- crypto/src/tls/DefaultTlsDHGroupVerifier.cs | 2 +- crypto/src/tls/DefaultTlsSrpConfigVerifier.cs | 2 +- crypto/src/tls/OcspStatusRequest.cs | 4 ++-- crypto/src/tls/ServerNameList.cs | 4 ++-- crypto/src/tls/TlsClient.cs | 5 +++-- crypto/src/tls/TlsExtensionsUtilities.cs | 8 ++++---- crypto/src/tls/TlsServer.cs | 2 +- crypto/src/tls/crypto/TlsCrypto.cs | 2 +- 12 files changed, 24 insertions(+), 23 deletions(-) (limited to 'crypto/src/tls') diff --git a/crypto/src/tls/AbstractTlsClient.cs b/crypto/src/tls/AbstractTlsClient.cs index cf4e1d565..8bfd828f1 100644 --- a/crypto/src/tls/AbstractTlsClient.cs +++ b/crypto/src/tls/AbstractTlsClient.cs @@ -114,7 +114,7 @@ namespace Org.BouncyCastle.Tls return new CertificateStatusRequest(CertificateStatusType.ocsp, new OcspStatusRequest(null, null)); } - /// an of (or null). + /// an of (or null). protected virtual IList GetMultiCertStatusRequest() { return null; @@ -130,7 +130,7 @@ namespace Org.BouncyCastle.Tls /// The named group roles for which there should /// be at least one supported group. By default this is inferred from the offered cipher suites and signature /// algorithms. - /// an of . See for group constants. + /// an of . See for group constants. /// protected virtual IList GetSupportedGroups(IList namedGroupRoles) { diff --git a/crypto/src/tls/CertificateRequest.cs b/crypto/src/tls/CertificateRequest.cs index d2bbe57c1..5eefb25f0 100644 --- a/crypto/src/tls/CertificateRequest.cs +++ b/crypto/src/tls/CertificateRequest.cs @@ -54,7 +54,7 @@ namespace Org.BouncyCastle.Tls /// see for valid constants. /// - /// an of . + /// an of . public CertificateRequest(short[] certificateTypes, IList supportedSignatureAlgorithms, IList certificateAuthorities) : this(null, certificateTypes, supportedSignatureAlgorithms, null, certificateAuthorities) @@ -108,21 +108,21 @@ namespace Org.BouncyCastle.Tls get { return m_certificateTypes; } } - /// an of (or null before TLS 1.2). + /// an of (or null before TLS 1.2). /// public IList SupportedSignatureAlgorithms { get { return m_supportedSignatureAlgorithms; } } - /// an optional of . May be non-null from + /// an optional of . May be non-null from /// TLS 1.3 onwards. public IList SupportedSignatureAlgorithmsCert { get { return m_supportedSignatureAlgorithmsCert; } } - /// an of . + /// an of . public IList CertificateAuthorities { get { return m_certificateAuthorities; } diff --git a/crypto/src/tls/CertificateStatus.cs b/crypto/src/tls/CertificateStatus.cs index 7ff11f729..1efa10020 100644 --- a/crypto/src/tls/CertificateStatus.cs +++ b/crypto/src/tls/CertificateStatus.cs @@ -42,7 +42,7 @@ namespace Org.BouncyCastle.Tls } } - /// an of (possibly null) . + /// an of (possibly null) . public IList OcspResponseList { get diff --git a/crypto/src/tls/CertificateUrl.cs b/crypto/src/tls/CertificateUrl.cs index e14446d6f..822745e4e 100644 --- a/crypto/src/tls/CertificateUrl.cs +++ b/crypto/src/tls/CertificateUrl.cs @@ -14,7 +14,7 @@ namespace Org.BouncyCastle.Tls private readonly IList m_urlAndHashList; /// see for valid constants. - /// an of . + /// an of . public CertificateUrl(short type, IList urlAndHashList) { if (!CertChainType.IsValid(type)) @@ -35,7 +35,7 @@ namespace Org.BouncyCastle.Tls get { return m_type; } } - /// an of . + /// an of . public IList UrlAndHashList { get { return m_urlAndHashList; } diff --git a/crypto/src/tls/DefaultTlsDHGroupVerifier.cs b/crypto/src/tls/DefaultTlsDHGroupVerifier.cs index 9aa3a23b4..b36e13b84 100644 --- a/crypto/src/tls/DefaultTlsDHGroupVerifier.cs +++ b/crypto/src/tls/DefaultTlsDHGroupVerifier.cs @@ -60,7 +60,7 @@ namespace Org.BouncyCastle.Tls /// Accept named groups and a custom set of group parameters, subject to a minimum bitlength for 'P'. /// - /// a list of acceptable s. + /// a list of acceptable s. /// the minimum bitlength of 'P'. public DefaultTlsDHGroupVerifier(IList groups, int minimumPrimeBits) { diff --git a/crypto/src/tls/DefaultTlsSrpConfigVerifier.cs b/crypto/src/tls/DefaultTlsSrpConfigVerifier.cs index 30b107ed2..d12e60261 100644 --- a/crypto/src/tls/DefaultTlsSrpConfigVerifier.cs +++ b/crypto/src/tls/DefaultTlsSrpConfigVerifier.cs @@ -32,7 +32,7 @@ namespace Org.BouncyCastle.Tls } /// Specify a custom set of acceptable group parameters. - /// an of acceptable . + /// an of acceptable . public DefaultTlsSrpConfigVerifier(IList groups) { this.m_groups = new List(groups); diff --git a/crypto/src/tls/OcspStatusRequest.cs b/crypto/src/tls/OcspStatusRequest.cs index a1688efcb..4eaa176d9 100644 --- a/crypto/src/tls/OcspStatusRequest.cs +++ b/crypto/src/tls/OcspStatusRequest.cs @@ -15,7 +15,7 @@ namespace Org.BouncyCastle.Tls private readonly IList m_responderIDList; private readonly X509Extensions m_requestExtensions; - /// an of , specifying the list of + /// an of , specifying the list of /// trusted OCSP responders. An empty list has the special meaning that the responders are implicitly known to /// the server - e.g., by prior arrangement. /// OCSP request extensions. A null value means that there are no extensions. @@ -26,7 +26,7 @@ namespace Org.BouncyCastle.Tls this.m_requestExtensions = requestExtensions; } - /// an of . + /// an of . public IList ResponderIDList { get { return m_responderIDList; } diff --git a/crypto/src/tls/ServerNameList.cs b/crypto/src/tls/ServerNameList.cs index 248cf2f7f..743dacfe8 100644 --- a/crypto/src/tls/ServerNameList.cs +++ b/crypto/src/tls/ServerNameList.cs @@ -11,7 +11,7 @@ namespace Org.BouncyCastle.Tls { private readonly IList m_serverNameList; - /// an of . + /// an of . public ServerNameList(IList serverNameList) { if (null == serverNameList) @@ -20,7 +20,7 @@ namespace Org.BouncyCastle.Tls this.m_serverNameList = serverNameList; } - /// an of . + /// an of . public IList ServerNames { get { return m_serverNameList; } diff --git a/crypto/src/tls/TlsClient.cs b/crypto/src/tls/TlsClient.cs index 368161c32..d93799aaf 100644 --- a/crypto/src/tls/TlsClient.cs +++ b/crypto/src/tls/TlsClient.cs @@ -20,7 +20,7 @@ namespace Org.BouncyCastle.Tls /// Return the external PSKs to offer in the ClientHello. /// This will only be called when TLS 1.3 or higher is amongst the offered protocol versions. - /// an of instances, or null if none should be + /// an of instances, or null if none should be /// offered. IList GetExternalPsks(); @@ -36,7 +36,8 @@ namespace Org.BouncyCastle.Tls /// Groups that were not included in the supported_groups extension (by will /// be ignored. The protocol will then add a suitable key_share extension to the ClientHello extensions. /// - /// an of named group values, possibly empty or null. + /// an of named group values, possibly empty or + /// null. /// IList GetEarlyKeyShareGroups(); diff --git a/crypto/src/tls/TlsExtensionsUtilities.cs b/crypto/src/tls/TlsExtensionsUtilities.cs index 6ad22f1e4..5a97e1efc 100644 --- a/crypto/src/tls/TlsExtensionsUtilities.cs +++ b/crypto/src/tls/TlsExtensionsUtilities.cs @@ -16,7 +16,7 @@ namespace Org.BouncyCastle.Tls } /// (Int32 -> byte[]) - /// an of . + /// an of . /// public static void AddAlpnExtensionClient(IDictionary extensions, IList protocolNameList) @@ -270,7 +270,7 @@ namespace Org.BouncyCastle.Tls extensions[ExtensionType.trusted_ca_keys] = CreateTrustedCAKeysExtensionServer(); } - /// an of . + /// an of . /// public static IList GetAlpnExtensionClient(IDictionary extensions) { @@ -550,7 +550,7 @@ namespace Org.BouncyCastle.Tls return extensionData == null ? false : ReadTrustedCAKeysExtensionServer(extensionData); } - /// an of . + /// an of . /// public static byte[] CreateAlpnExtensionClient(IList protocolNameList) { @@ -966,7 +966,7 @@ namespace Org.BouncyCastle.Tls return true; } - /// an of . + /// an of . /// public static IList ReadAlpnExtensionClient(byte[] extensionData) { diff --git a/crypto/src/tls/TlsServer.cs b/crypto/src/tls/TlsServer.cs index 9d8ae966d..153427266 100644 --- a/crypto/src/tls/TlsServer.cs +++ b/crypto/src/tls/TlsServer.cs @@ -29,7 +29,7 @@ namespace Org.BouncyCastle.Tls /// Note that this will only be called when TLS 1.3 or higher is amongst the offered protocol versions, and one /// or more PSKs are actually offered. /// - /// an of instances. + /// an of instances. /// The corresponding to the selected identity, or null to not select /// any. TlsPskExternal GetExternalPsk(IList identities); diff --git a/crypto/src/tls/crypto/TlsCrypto.cs b/crypto/src/tls/crypto/TlsCrypto.cs index a99be8612..c9d00cbb0 100644 --- a/crypto/src/tls/crypto/TlsCrypto.cs +++ b/crypto/src/tls/crypto/TlsCrypto.cs @@ -14,7 +14,7 @@ namespace Org.BouncyCastle.Tls.Crypto /// Return true if this TlsCrypto would use a stream verifier for any of the passed in algorithms. /// /// This method is only relevant to handshakes negotiating (D)TLS 1.2. - /// A list of + /// A list of /// values. /// true if this instance would use a stream verifier for any of the passed in algorithms, otherwise /// false. -- cgit 1.4.1