Package org.bouncycastle.tls
Class CertificateStatusRequest
java.lang.Object
org.bouncycastle.tls.CertificateStatusRequest
Implementation of the RFC 3546 3.6. CertificateStatusRequest.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream output) Encode thisCertificateStatusRequest
to anOutputStream
.short
protected static boolean
isCorrectType
(short statusType, Object request) static CertificateStatusRequest
parse
(InputStream input) Parse aCertificateStatusRequest
from anInputStream
.
-
Field Details
-
statusType
protected short statusType -
request
-
-
Constructor Details
-
CertificateStatusRequest
-
-
Method Details
-
getStatusType
public short getStatusType() -
getRequest
-
getOCSPStatusRequest
-
encode
Encode thisCertificateStatusRequest
to anOutputStream
.- Parameters:
output
- theOutputStream
to encode to.- Throws:
IOException
-
parse
Parse aCertificateStatusRequest
from anInputStream
.- Parameters:
input
- theInputStream
to parse from.- Returns:
- a
CertificateStatusRequest
object. - Throws:
IOException
-
isCorrectType
-