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.
29 lines
508 B
29 lines
508 B
using System.Collections;
|
|
using System.IO;
|
|
|
|
namespace Org.BouncyCastle.Asn1
|
|
{
|
|
public abstract class Asn1Generator
|
|
{
|
|
private Stream _out;
|
|
|
|
protected Asn1Generator(
|
|
Stream outStream)
|
|
{
|
|
_out = outStream;
|
|
}
|
|
|
|
protected Stream Out
|
|
{
|
|
get { return _out; }
|
|
}
|
|
|
|
public abstract void AddObject(Asn1Encodable obj);
|
|
|
|
public abstract void AddObject(Asn1Object obj);
|
|
|
|
public abstract Stream GetRawOutputStream();
|
|
|
|
public abstract void Close();
|
|
}
|
|
}
|
|
|