Exemple #1
0
 public OCSPRequest(
     TBSRequest tbsRequest,
     Signature optionalSignature)
 {
     this.tbsRequest        = tbsRequest;
     this.optionalSignature = optionalSignature;
 }
Exemple #2
0
        public OCSPRequest(
            ASN1Sequence seq)
        {
            tbsRequest = TBSRequest.getInstance(seq.getObjectAt(0));

            if (seq.size() == 2)
            {
                optionalSignature = Signature.getInstance(
                    (ASN1TaggedObject)seq.getObjectAt(1), true);
            }
        }