public override void Close() { if (_off != 0) { DerOctetString.Encode(_derOut, _buf, 0, _off); } _gen.WriteBerEnd(); base.Close(); }