diff options
Diffstat (limited to 'crypto/src/asn1/DERSetGenerator.cs')
-rw-r--r-- | crypto/src/asn1/DERSetGenerator.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/src/asn1/DERSetGenerator.cs b/crypto/src/asn1/DERSetGenerator.cs index 455ca88ac..a25dd7de8 100644 --- a/crypto/src/asn1/DERSetGenerator.cs +++ b/crypto/src/asn1/DERSetGenerator.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; } |