1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/src/asn1/DERSequenceGenerator.cs b/crypto/src/asn1/DERSequenceGenerator.cs
index 4c2bfd012..c4348c78d 100644
--- a/crypto/src/asn1/DERSequenceGenerator.cs
+++ b/crypto/src/asn1/DERSequenceGenerator.cs
@@ -27,7 +27,13 @@ namespace Org.BouncyCastle.Asn1
new DerOutputStream(_bOut).WriteObject(obj);
}
- public override Stream GetRawOutputStream()
+ public override void AddObject(
+ Asn1Object obj)
+ {
+ new DerOutputStream(_bOut).WriteObject(obj);
+ }
+
+ public override Stream GetRawOutputStream()
{
return _bOut;
}
|