Package org.bouncycastle.cert.ocsp
Class OCSPRespBuilder
- java.lang.Object
 - 
- org.bouncycastle.cert.ocsp.OCSPRespBuilder
 
 
- 
public class OCSPRespBuilder extends java.lang.Objectbase generator for an OCSP response - at the moment this only supports the generation of responses containing BasicOCSP responses. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intINTERNAL_ERRORstatic intMALFORMED_REQUESTstatic intSIG_REQUIREDstatic intSUCCESSFULstatic intTRY_LATERstatic intUNAUTHORIZED 
- 
Constructor Summary
Constructors Constructor Description OCSPRespBuilder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OCSPRespbuild(int status, java.lang.Object response) 
 - 
 
- 
- 
Field Detail
- 
SUCCESSFUL
public static final int SUCCESSFUL
- See Also:
 - Constant Field Values
 
 
- 
MALFORMED_REQUEST
public static final int MALFORMED_REQUEST
- See Also:
 - Constant Field Values
 
 
- 
INTERNAL_ERROR
public static final int INTERNAL_ERROR
- See Also:
 - Constant Field Values
 
 
- 
TRY_LATER
public static final int TRY_LATER
- See Also:
 - Constant Field Values
 
 
- 
SIG_REQUIRED
public static final int SIG_REQUIRED
- See Also:
 - Constant Field Values
 
 
- 
UNAUTHORIZED
public static final int UNAUTHORIZED
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
build
public OCSPResp build(int status, java.lang.Object response) throws OCSPException
- Throws:
 OCSPException
 
 - 
 
 -