diff options
Diffstat (limited to '')
-rw-r--r-- | crypto/src/asn1/DerOctetString.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/src/asn1/DerOctetString.cs b/crypto/src/asn1/DerOctetString.cs index 3680a6fd4..7ea9940b3 100644 --- a/crypto/src/asn1/DerOctetString.cs +++ b/crypto/src/asn1/DerOctetString.cs @@ -21,6 +21,13 @@ namespace Org.BouncyCastle.Asn1 { } +#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER + internal DerOctetString(ReadOnlySpan<byte> contents) + : base(contents) + { + } +#endif + internal override IAsn1Encoding GetEncoding(int encoding) { return new PrimitiveEncoding(Asn1Tags.Universal, Asn1Tags.OctetString, contents); |