blob: 1486368e038f10fe1528dafe74444235054f7469 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
using System.IO;
namespace Org.BouncyCastle.Asn1
{
[Obsolete("Use 'Asn1OutputStream' instead")]
public class BerOutputStream
: DerOutputStream
{
[Obsolete("Use 'Asn1OutputStream.Create' instead")]
public BerOutputStream(Stream os)
: base(os)
{
}
public override void WriteObject(Asn1Encodable encodable)
{
Asn1OutputStream.Create(s).WriteObject(encodable);
}
public override void WriteObject(Asn1Object primitive)
{
Asn1OutputStream.Create(s).WriteObject(primitive);
}
}
}
|