APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.security.ssl

pack-priv final Class CertificateStatus

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.text.MessageFormat, java.util.List, .ArrayList, .Locale, javax.net.ssl.SSLHandshakeException, java.security.cert.X509Certificate, sun.security.provider.certpath.OCSPResponse, sun.security.ssl.SSLHandshake.HandshakeMessage

Consumers and producers for the CertificateStatus handshake message. This message takes one of two related but slightly different forms, depending on the type of stapling selected by the server. The message data will be of the form(s): [status_request, RFC 6066] struct { CertificateStatusType status_type; select (status_type) { case ocsp: OCSPResponse; } response; } CertificateStatus; opaque OCSPResponse<1..2^24-1>; [status_request_v2, RFC 6961] struct { CertificateStatusType status_type; select (status_type) { case ocsp: OCSPResponse; case ocsp_multi: OCSPResponseList; } response; } CertificateStatus; opaque OCSPResponse<0..2^24-1>; struct { OCSPResponse ocsp_response_list<1..2^24-1>; } OCSPResponseList;

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
CertificateStatus.CertificateStatusConsumer

The CertificateStatus handshake message consumer.

pack-priv static class
CertificateStatus.CertificateStatusMessage

The CertificateStatus handshake message.

private static class
CertificateStatus.CertificateStatusProducer

The CertificateStatus handshake message consumer.

Field Summary

Modifier and TypeField and Description
pack-priv static final HandshakeAbsence
pack-priv static final SSLConsumer
pack-priv static final HandshakeProducer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

handshakeAbsenceback to summary
pack-priv static final HandshakeAbsence handshakeAbsence
handshakeConsumerback to summary
pack-priv static final SSLConsumer handshakeConsumer
handshakeProducerback to summary
pack-priv static final HandshakeProducer handshakeProducer

Constructor Detail

CertificateStatusback to summary
pack-priv CertificateStatus()
sun.security.ssl back to summary

private final Class CertificateStatus.CertificateStatusAbsence

extends Object
implements HandshakeAbsence
Class Inheritance
All Implemented Interfaces
sun.security.ssl.HandshakeAbsence

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CertificateStatusAbsenceback to summary
private CertificateStatusAbsence()

Method Detail

absentback to summary
public void absent(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeAbsence.absent.

Annotations
@Override
sun.security.ssl back to summary

private final Class CertificateStatus.CertificateStatusConsumer

extends Object
implements SSLConsumer
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLConsumer

The CertificateStatus handshake message consumer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CertificateStatusConsumerback to summary
private CertificateStatusConsumer()

Method Detail

consumeback to summary
public void consume(ConnectionContext context, ByteBuffer message) throws IOException

Implements sun.security.ssl.SSLConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class CertificateStatus.CertificateStatusMessage

extends HandshakeMessage
Class Inheritance

The CertificateStatus handshake message.

Field Summary

Modifier and TypeField and Description
pack-priv final List<byte[]>
pack-priv final int
pack-priv final int
pack-priv final CertStatusExtension.CertStatusRequestType
Inherited from sun.security.ssl.SSLHandshake.HandshakeMessage:
handshakeContext

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public SSLHandshake
private static int
messageLength(CertStatusExtension.CertStatusRequestType statusType, int encodedResponsesLen)

public int
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from sun.security.ssl.SSLHandshake.HandshakeMessage:
write

Field Detail

encodedResponsesback to summary
pack-priv final List<byte[]> encodedResponses
encodedResponsesLenback to summary
pack-priv final int encodedResponsesLen
messageLengthback to summary
pack-priv final int messageLength
statusTypeback to summary
pack-priv final CertStatusExtension.CertStatusRequestType statusType

Constructor Detail

CertificateStatusMessageback to summary
pack-priv CertificateStatusMessage(HandshakeContext handshakeContext)
CertificateStatusMessageback to summary
pack-priv CertificateStatusMessage(HandshakeContext handshakeContext, ByteBuffer m) throws IOException

Method Detail

handshakeTypeback to summary
public SSLHandshake handshakeType()

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.handshakeType.

Annotations
@Override
messageLengthback to summary
private static int messageLength(CertStatusExtension.CertStatusRequestType statusType, int encodedResponsesLen)
messageLengthback to summary
public int messageLength()

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.messageLength.

Annotations
@Override
sendback to summary
public void send(HandshakeOutStream s) throws IOException

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.send.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
sun.security.ssl back to summary

private final Class CertificateStatus.CertificateStatusProducer

extends Object
implements HandshakeProducer
Class Inheritance
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

The CertificateStatus handshake message consumer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CertificateStatusProducerback to summary
private CertificateStatusProducer()

Method Detail

produceback to summary
public byte[] produce(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override