Bouncy Castle Cryptography 1.50

org.bouncycastle.crypto.tls
Class CertificateStatus

java.lang.Object
  extended by org.bouncycastle.crypto.tls.CertificateStatus

public class CertificateStatus
extends java.lang.Object


Field Summary
protected  java.lang.Object response
           
protected  short statusType
           
 
Constructor Summary
CertificateStatus(short statusType, java.lang.Object response)
           
 
Method Summary
 void encode(java.io.OutputStream output)
          Encode this CertificateStatus to an OutputStream.
 OCSPResponse getOCSPResponse()
           
 java.lang.Object getResponse()
           
 short getStatusType()
           
protected static boolean isCorrectType(short statusType, java.lang.Object response)
           
static CertificateStatus parse(java.io.InputStream input)
          Parse a CertificateStatus from an InputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statusType

protected short statusType

response

protected java.lang.Object response
Constructor Detail

CertificateStatus

public CertificateStatus(short statusType,
                         java.lang.Object response)
Method Detail

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)

Bouncy Castle Cryptography 1.50