Package org.bouncycastle.tls
Class CertificateStatusRequestItemV2
- java.lang.Object
-
- org.bouncycastle.tls.CertificateStatusRequestItemV2
-
public class CertificateStatusRequestItemV2 extends java.lang.ObjectImplementation of the RFC 6961 2.2. CertificateStatusRequestItemV2.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Objectrequestprotected shortstatusType
-
Constructor Summary
Constructors Constructor Description CertificateStatusRequestItemV2(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 thisCertificateStatusRequestItemV2to anOutputStream.OCSPStatusRequestgetOCSPStatusRequest()java.lang.ObjectgetRequest()shortgetStatusType()protected static booleanisCorrectType(short statusType, java.lang.Object request)static CertificateStatusRequestItemV2parse(java.io.InputStream input)Parse aCertificateStatusRequestItemV2from 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 thisCertificateStatusRequestItemV2to anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
java.io.IOException
-
parse
public static CertificateStatusRequestItemV2 parse(java.io.InputStream input) throws java.io.IOException
Parse aCertificateStatusRequestItemV2from anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- a
CertificateStatusRequestItemV2object. - Throws:
java.io.IOException
-
isCorrectType
protected static boolean isCorrectType(short statusType, java.lang.Object request)
-
-