Package org.bouncycastle.tls
Class CertificateStatusRequest
- java.lang.Object
-
- org.bouncycastle.tls.CertificateStatusRequest
-
public class CertificateStatusRequest extends java.lang.ObjectImplementation of the RFC 3546 3.6. CertificateStatusRequest.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Objectrequestprotected shortstatusType
-
Constructor Summary
Constructors Constructor Description CertificateStatusRequest(short statusType, java.lang.Object request)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(java.io.OutputStream output)Encode thisCertificateStatusRequestto anOutputStream.OCSPStatusRequestgetOCSPStatusRequest()java.lang.ObjectgetRequest()shortgetStatusType()protected static booleanisCorrectType(short statusType, java.lang.Object request)static CertificateStatusRequestparse(java.io.InputStream input)Parse aCertificateStatusRequestfrom anInputStream.
-
-
-
Method Detail
-
getStatusType
public short getStatusType()
-
getRequest
public java.lang.Object getRequest()
-
getOCSPStatusRequest
public OCSPStatusRequest getOCSPStatusRequest()
-
encode
public void encode(java.io.OutputStream output) throws java.io.IOExceptionEncode thisCertificateStatusRequestto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
java.io.IOException
-
parse
public static CertificateStatusRequest parse(java.io.InputStream input) throws java.io.IOException
Parse aCertificateStatusRequestfrom anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- a
CertificateStatusRequestobject. - Throws:
java.io.IOException
-
isCorrectType
protected static boolean isCorrectType(short statusType, java.lang.Object request)
-
-