diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/crypto/tls/CertificateStatus.cs | 2 | ||||
-rw-r--r-- | crypto/src/crypto/tls/CertificateStatusRequest.cs | 2 | ||||
-rw-r--r-- | crypto/src/crypto/tls/ServerName.cs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/crypto/tls/CertificateStatus.cs b/crypto/src/crypto/tls/CertificateStatus.cs index 0f95475b9..bc4128722 100644 --- a/crypto/src/crypto/tls/CertificateStatus.cs +++ b/crypto/src/crypto/tls/CertificateStatus.cs @@ -95,7 +95,7 @@ namespace Org.BouncyCastle.Crypto.Tls case CertificateStatusType.ocsp: return response is OcspResponse; default: - throw new ArgumentException("unsupported value", "statusType"); + throw new ArgumentException("unsupported CertificateStatusType", "statusType"); } } } diff --git a/crypto/src/crypto/tls/CertificateStatusRequest.cs b/crypto/src/crypto/tls/CertificateStatusRequest.cs index 9587d7df8..24ce37655 100644 --- a/crypto/src/crypto/tls/CertificateStatusRequest.cs +++ b/crypto/src/crypto/tls/CertificateStatusRequest.cs @@ -88,7 +88,7 @@ namespace Org.BouncyCastle.Crypto.Tls case CertificateStatusType.ocsp: return request is OcspStatusRequest; default: - throw new ArgumentException("unsupported value", "statusType"); + throw new ArgumentException("unsupported CertificateStatusType", "statusType"); } } } diff --git a/crypto/src/crypto/tls/ServerName.cs b/crypto/src/crypto/tls/ServerName.cs index 508c2ddbc..45d18b79b 100644 --- a/crypto/src/crypto/tls/ServerName.cs +++ b/crypto/src/crypto/tls/ServerName.cs @@ -98,7 +98,7 @@ namespace Org.BouncyCastle.Crypto.Tls case Tls.NameType.host_name: return name is string; default: - throw new ArgumentException("unsupported value", "name"); + throw new ArgumentException("unsupported NameType", "nameType"); } } } |