Package org.bouncycastle.crypto.tls
Class CertificateStatus
- java.lang.Object
-
- org.bouncycastle.crypto.tls.CertificateStatus
-
public class CertificateStatus extends java.lang.Object
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
response
Deprecated.protected short
statusType
Deprecated.
-
Constructor Summary
Constructors Constructor Description CertificateStatus(short statusType, java.lang.Object response)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
encode(java.io.OutputStream output)
Deprecated.Encode thisCertificateStatus
to anOutputStream
.OCSPResponse
getOCSPResponse()
Deprecated.java.lang.Object
getResponse()
Deprecated.short
getStatusType()
Deprecated.protected static boolean
isCorrectType(short statusType, java.lang.Object response)
Deprecated.static CertificateStatus
parse(java.io.InputStream input)
Deprecated.Parse aCertificateStatus
from anInputStream
.
-
-
-
Method Detail
-
getStatusType
public short getStatusType()
Deprecated.
-
getResponse
public java.lang.Object getResponse()
Deprecated.
-
getOCSPResponse
public OCSPResponse getOCSPResponse()
Deprecated.
-
encode
public void encode(java.io.OutputStream output) throws java.io.IOException
Deprecated.Encode thisCertificateStatus
to anOutputStream
.- Parameters:
output
- theOutputStream
to encode to.- Throws:
java.io.IOException
-
parse
public static CertificateStatus parse(java.io.InputStream input) throws java.io.IOException
Deprecated.Parse aCertificateStatus
from anInputStream
.- Parameters:
input
- theInputStream
to parse from.- Returns:
- a
CertificateStatus
object. - Throws:
java.io.IOException
-
isCorrectType
protected static boolean isCorrectType(short statusType, java.lang.Object response)
Deprecated.
-
-