summary refs log tree commit diff
path: root/crypto/src/tls
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-21 18:57:52 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-21 18:57:52 +0700
commit84a1abd2bb12af82623c136243240e52a88e0bf4 (patch)
tree5a9828c8785a54c5b293ba484bdd0e2f2431600f /crypto/src/tls
parentUpdate copyright (diff)
downloadBouncyCastle.NET-ed25519-84a1abd2bb12af82623c136243240e52a88e0bf4.tar.xz
ObsoleteAttribute cleanup
Diffstat (limited to 'crypto/src/tls')
-rw-r--r--crypto/src/tls/TlsUtilities.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/crypto/src/tls/TlsUtilities.cs b/crypto/src/tls/TlsUtilities.cs
index 72ff92271..f0c8ba194 100644
--- a/crypto/src/tls/TlsUtilities.cs
+++ b/crypto/src/tls/TlsUtilities.cs
@@ -938,19 +938,6 @@ namespace Org.BouncyCastle.Tls
         }
 
         /// <exception cref="IOException"/>
-        [Obsolete("Will be removed. Use ReadAsn1Object in combination with RequireDerEncoding instead")]
-        public static Asn1Object ReadDerObject(byte[] encoding)
-        {
-            /*
-             * NOTE: The current ASN.1 parsing code can't enforce DER-only parsing, but since DER is
-             * canonical, we can check it by re-encoding the result and comparing to the original.
-             */
-            Asn1Object result = ReadAsn1Object(encoding);
-            RequireDerEncoding(result, encoding);
-            return result;
-        }
-
-        /// <exception cref="IOException"/>
         public static void RequireDerEncoding(Asn1Encodable asn1, byte[] encoding)
         {
             /*
@@ -1083,13 +1070,6 @@ namespace Org.BouncyCastle.Tls
             return result;
         }
 
-        [Obsolete("Will be removed")]
-        public static SignatureAndHashAlgorithm GetSignatureAndHashAlgorithm(TlsContext context,
-            TlsCredentialedSigner signerCredentials)
-        {
-            return GetSignatureAndHashAlgorithm(context.ServerVersion, signerCredentials);
-        }
-
         internal static SignatureAndHashAlgorithm GetSignatureAndHashAlgorithm(ProtocolVersion negotiatedVersion,
             TlsCredentialedSigner credentialedSigner)
         {