diff options
Diffstat (limited to 'crypto/src/asn1/DerOctetString.cs')
-rw-r--r-- | crypto/src/asn1/DerOctetString.cs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/crypto/src/asn1/DerOctetString.cs b/crypto/src/asn1/DerOctetString.cs index d79607950..b9659bf84 100644 --- a/crypto/src/asn1/DerOctetString.cs +++ b/crypto/src/asn1/DerOctetString.cs @@ -22,19 +22,14 @@ namespace Org.BouncyCastle.Asn1 { } - internal override void Encode( - DerOutputStream derOut) + internal override void Encode(Asn1OutputStream asn1Out) { - derOut.WriteEncoded(Asn1Tags.OctetString, str); + asn1Out.WriteEncoded(Asn1Tags.OctetString, str); } - internal static void Encode( - DerOutputStream derOut, - byte[] bytes, - int offset, - int length) + internal static void Encode(Asn1OutputStream asn1Out, byte[] bytes, int offset, int length) { - derOut.WriteEncoded(Asn1Tags.OctetString, bytes, offset, length); + asn1Out.WriteEncoded(Asn1Tags.OctetString, bytes, offset, length); } } } |