Package org.bouncycastle.crypto.tls
Class CertificateStatus
- java.lang.Object
-
- org.bouncycastle.crypto.tls.CertificateStatus
-
public class CertificateStatus extends java.lang.ObjectDeprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectresponseDeprecated.protected shortstatusTypeDeprecated.
-
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 voidencode(java.io.OutputStream output)Deprecated.Encode thisCertificateStatusto anOutputStream.OCSPResponsegetOCSPResponse()Deprecated.java.lang.ObjectgetResponse()Deprecated.shortgetStatusType()Deprecated.protected static booleanisCorrectType(short statusType, java.lang.Object response)Deprecated.static CertificateStatusparse(java.io.InputStream input)Deprecated.Parse aCertificateStatusfrom 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.IOExceptionDeprecated.Encode thisCertificateStatusto anOutputStream.- Parameters:
output- theOutputStreamto encode to.- Throws:
java.io.IOException
-
parse
public static CertificateStatus parse(java.io.InputStream input) throws java.io.IOException
Deprecated.Parse aCertificateStatusfrom anInputStream.- Parameters:
input- theInputStreamto parse from.- Returns:
- a
CertificateStatusobject. - Throws:
java.io.IOException
-
isCorrectType
protected static boolean isCorrectType(short statusType, java.lang.Object response)Deprecated.
-
-