From 48e949f985e42e5b841e05e9b84a969d63520c1e Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 25 Jul 2023 16:43:34 +0700 Subject: Mark BER parser classes Obsolete (for removal from public API) --- crypto/src/asn1/Asn1InputStream.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/src/asn1/Asn1InputStream.cs') diff --git a/crypto/src/asn1/Asn1InputStream.cs b/crypto/src/asn1/Asn1InputStream.cs index 9ac9a6b02..96b0a1c66 100644 --- a/crypto/src/asn1/Asn1InputStream.cs +++ b/crypto/src/asn1/Asn1InputStream.cs @@ -212,12 +212,14 @@ namespace Org.BouncyCastle.Asn1 { case Asn1Tags.BitString: return BerBitStringParser.Parse(sp); +#pragma warning disable CS0618 // Type or member is obsolete case Asn1Tags.OctetString: return BerOctetStringParser.Parse(sp); case Asn1Tags.Sequence: return BerSequenceParser.Parse(sp); case Asn1Tags.Set: return BerSetParser.Parse(sp); +#pragma warning restore CS0618 // Type or member is obsolete case Asn1Tags.External: // TODO[asn1] BerExternalParser return DerExternalParser.Parse(sp); -- cgit 1.4.1