public class OCSPResp extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INTERNAL_ERROR |
static int |
MALFORMED_REQUEST |
static int |
SIG_REQUIRED |
static int |
SUCCESSFUL |
static int |
TRY_LATER |
static int |
UNAUTHORIZED |
Constructor and Description |
---|
OCSPResp(byte[] resp) |
OCSPResp(InputStream resp) |
OCSPResp(org.bouncycastle.asn1.ocsp.OCSPResponse resp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
Object |
getResponseObject() |
int |
getStatus() |
int |
hashCode() |
org.bouncycastle.asn1.ocsp.OCSPResponse |
toASN1Structure() |
public static final int SUCCESSFUL
public static final int MALFORMED_REQUEST
public static final int INTERNAL_ERROR
public static final int TRY_LATER
public static final int SIG_REQUIRED
public static final int UNAUTHORIZED
public OCSPResp(org.bouncycastle.asn1.ocsp.OCSPResponse resp)
public OCSPResp(byte[] resp) throws IOException
IOException
public OCSPResp(InputStream resp) throws IOException
IOException
public int getStatus()
public Object getResponseObject() throws OCSPException
OCSPException
public byte[] getEncoded() throws IOException
IOException
public org.bouncycastle.asn1.ocsp.OCSPResponse toASN1Structure()
Copyright © 2017 BouncyCastle.org. All rights reserved.