diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-25 16:43:34 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-25 16:43:34 +0700 |
commit | 48e949f985e42e5b841e05e9b84a969d63520c1e (patch) | |
tree | 9e2ecbdccc34924c18c3f00a6fc2f57d3a3bf852 /crypto/src/asn1/Asn1InputStream.cs | |
parent | Warnings cleanup (diff) | |
download | BouncyCastle.NET-ed25519-48e949f985e42e5b841e05e9b84a969d63520c1e.tar.xz |
Mark BER parser classes Obsolete (for removal from public API)
Diffstat (limited to 'crypto/src/asn1/Asn1InputStream.cs')
-rw-r--r-- | crypto/src/asn1/Asn1InputStream.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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); |