summary refs log tree commit diff
path: root/crypto/src/asn1/DerSequence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/DerSequence.cs')
-rw-r--r--crypto/src/asn1/DerSequence.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/DerSequence.cs b/crypto/src/asn1/DerSequence.cs
index 43d1a9167..cd526e871 100644
--- a/crypto/src/asn1/DerSequence.cs
+++ b/crypto/src/asn1/DerSequence.cs
@@ -66,13 +66,13 @@ namespace Org.BouncyCastle.Asn1
                 Asn1OutputStream.GetContentsEncodings(Asn1OutputStream.EncodingDer, elements));
         }
 
-        internal override DerEncoding GetEncodingDer()
+        internal sealed override DerEncoding GetEncodingDer()
         {
             return new ConstructedDerEncoding(Asn1Tags.Universal, Asn1Tags.Sequence,
                 Asn1OutputStream.GetContentsEncodingsDer(elements));
         }
 
-        internal override DerEncoding GetEncodingDerImplicit(int tagClass, int tagNo)
+        internal sealed override DerEncoding GetEncodingDerImplicit(int tagClass, int tagNo)
         {
             return new ConstructedDerEncoding(tagClass, tagNo,
                 Asn1OutputStream.GetContentsEncodingsDer(elements));