Home | History | Annotate | Download | only in ocsp
      1 package org.bouncycastle.cert.ocsp;
      2 
      3 import org.bouncycastle.asn1.ocsp.Request;
      4 import org.bouncycastle.asn1.x509.Extensions;
      5 
      6 public class Req
      7 {
      8     private Request req;
      9 
     10     public Req(
     11         Request req)
     12     {
     13         this.req = req;
     14     }
     15 
     16     public CertificateID getCertID()
     17     {
     18         return new CertificateID(req.getReqCert());
     19     }
     20 
     21     public Extensions getSingleRequestExtensions()
     22     {
     23         return req.getSingleRequestExtensions();
     24     }
     25 }
     26