You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
630 B
26 lines
630 B
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);
|
|
}
|
|
}
|
|
}
|
|
|