Produce an object suitable for an ASN1OutputStream.
OCSPRequest ::= SEQUENCE {
tbsRequest TBSRequest,
optionalSignature [0] EXPLICIT Signature OPTIONAL }
ASN1EncodableVector v = new ASN1EncodableVector();
v.add(tbsRequest);
if (optionalSignature != null)
{
v.add(new DERTaggedObject(true, 0, optionalSignature));
}
return new DERSequence(v);