diff options
Diffstat (limited to 'crypto/src/asn1/DerOutputStream.cs')
-rw-r--r-- | crypto/src/asn1/DerOutputStream.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/asn1/DerOutputStream.cs b/crypto/src/asn1/DerOutputStream.cs index f384c20a8..47b945635 100644 --- a/crypto/src/asn1/DerOutputStream.cs +++ b/crypto/src/asn1/DerOutputStream.cs @@ -34,14 +34,14 @@ namespace Org.BouncyCastle.Asn1 { } - internal override bool IsBer + internal override DerOutputStreamNew GetDerSubStream() { - get { return false; } + return this; } - internal override bool IsDer + internal override int Encoding { - get { return true; } + get { return EncodingDer; } } internal override void WritePrimitive(Asn1Object primitive, bool withID) |