public class

OCSPRespBuilder

extends Object
java.lang.Object
   ↳ org.bouncycastle.cert.ocsp.OCSPRespBuilder

Class Overview

base generator for an OCSP response - at the moment this only supports the generation of responses containing BasicOCSP responses.

Summary

Constants
int INTERNAL_ERROR
int MALFORMED_REQUEST
int SIG_REQUIRED
int SUCCESSFUL
int TRY_LATER
int UNAUTHORIZED
Public Constructors
OCSPRespBuilder()
Public Methods
OCSPResp build(int status, Object response)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int INTERNAL_ERROR

Constant Value: 2 (0x00000002)

public static final int MALFORMED_REQUEST

Constant Value: 1 (0x00000001)

public static final int SIG_REQUIRED

Constant Value: 5 (0x00000005)

public static final int SUCCESSFUL

Constant Value: 0 (0x00000000)

public static final int TRY_LATER

Constant Value: 3 (0x00000003)

public static final int UNAUTHORIZED

Constant Value: 6 (0x00000006)

Public Constructors

public OCSPRespBuilder ()

Public Methods

public OCSPResp build (int status, Object response)

Throws
OCSPException