org.bouncycastle.crypto.tls
Class CertificateStatus
java.lang.Object
org.bouncycastle.crypto.tls.CertificateStatus
public class CertificateStatus
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statusType
protected short statusType
response
protected java.lang.Object response
CertificateStatus
public CertificateStatus(short statusType,
java.lang.Object response)
getStatusType
public short getStatusType()
getResponse
public java.lang.Object getResponse()
getOCSPResponse
public OCSPResponse getOCSPResponse()
encode
public void encode(java.io.OutputStream output)
throws java.io.IOException
- Encode this
CertificateStatus
to an OutputStream
.
- Parameters:
output
- the OutputStream
to encode to.
- Throws:
java.io.IOException
parse
public static CertificateStatus parse(java.io.InputStream input)
throws java.io.IOException
- Parse a
CertificateStatus
from an InputStream
.
- Parameters:
input
- the InputStream
to parse from.
- Returns:
- a
CertificateStatus
object.
- Throws:
java.io.IOException
isCorrectType
protected static boolean isCorrectType(short statusType,
java.lang.Object response)