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

pack-priv final Class CertificateAuthoritiesExtension

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.security.cert.X509Certificate, java.text.MessageFormat, java.util.*, javax.net.ssl.SSLProtocolException, javax.security.auth.x500.X500Principal, sun.security.ssl.SSLExtension.ExtensionConsumer, .SSLExtension.SSLExtensionSpec, .SSLHandshake.HandshakeMessage

Pack of the "certificate_authorities" extensions.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
CertificateAuthoritiesExtension.CertificateAuthoritiesSpec

The "certificate_authorities" extension.

private static class
private static class
CertificateAuthoritiesExtension.CHCertificateAuthoritiesConsumer

Network data consumer of a "certificate_authorities" extension in the ClientHello handshake message.

private static class
CertificateAuthoritiesExtension.CHCertificateAuthoritiesProducer

Network data producer of a "certificate_authorities" extension in the ClientHello handshake message.

private static class
CertificateAuthoritiesExtension.CRCertificateAuthoritiesConsumer

Network data consumer of a "certificate_authorities" extension in the CertificateRequest handshake message.

private static class
CertificateAuthoritiesExtension.CRCertificateAuthoritiesProducer

Network data producer of a "certificate_authorities" extension in the CertificateRequest handshake message.

Field Summary

Modifier and TypeField and Description
pack-priv static final HandshakeProducer
pack-priv static final SSLExtension.ExtensionConsumer
pack-priv static final HandshakeProducer
pack-priv static final SSLExtension.ExtensionConsumer
pack-priv static final SSLStringizer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

chNetworkProducerback to summary
pack-priv static final HandshakeProducer chNetworkProducer
chOnLoadConsumerback to summary
pack-priv static final SSLExtension.ExtensionConsumer chOnLoadConsumer
crNetworkProducerback to summary
pack-priv static final HandshakeProducer crNetworkProducer
crOnLoadConsumerback to summary
pack-priv static final SSLExtension.ExtensionConsumer crOnLoadConsumer
ssStringizerback to summary
pack-priv static final SSLStringizer ssStringizer

Constructor Detail

CertificateAuthoritiesExtensionback to summary
pack-priv CertificateAuthoritiesExtension()
sun.security.ssl back to summary

pack-priv final Class CertificateAuthoritiesExtension.CertificateAuthoritiesSpec

extends Object
implements SSLExtensionSpec
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateAuthoritiesExtension.CertificateAuthoritiesSpec
All Implemented Interfaces
sun.security.ssl.SSLExtension.SSLExtensionSpec

The "certificate_authorities" extension.

Field Summary

Modifier and TypeField and Description
pack-priv final List<byte[]>

Constructor Summary

AccessConstructor and Description
private
CertificateAuthoritiesSpec(List<byte[]> authorities)

private

Method Summary

Modifier and TypeMethod and Description
pack-priv X500Principal[]
private static List<byte[]>
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

authoritiesback to summary
pack-priv final List<byte[]> authorities

Constructor Detail

CertificateAuthoritiesSpecback to summary
private CertificateAuthoritiesSpec(List<byte[]> authorities)
CertificateAuthoritiesSpecback to summary
private CertificateAuthoritiesSpec(HandshakeContext hc, ByteBuffer m) throws IOException

Method Detail

getAuthoritiesback to summary
pack-priv X500Principal[] getAuthorities()
getEncodedAuthoritiesback to summary
private static List<byte[]> getEncodedAuthorities(X509Certificate[] trustedCerts)
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 CertificateAuthoritiesExtension.CertificateAuthoritiesStringizer

extends Object
implements SSLStringizer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateAuthoritiesExtension.CertificateAuthoritiesStringizer
All Implemented Interfaces
sun.security.ssl.SSLStringizer

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
toString(HandshakeContext hc, ByteBuffer buffer)

Implements sun.security.ssl.SSLStringizer.toString.

Returns a legible string representation of a ByteBuffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CertificateAuthoritiesStringizerback to summary
private CertificateAuthoritiesStringizer()

Method Detail

toStringback to summary
public String toString(HandshakeContext hc, ByteBuffer buffer)

Implements sun.security.ssl.SSLStringizer.toString.

Doc from sun.security.ssl.SSLStringizer.toString.

Returns a legible string representation of a ByteBuffer. Note that the implementation MUST not change the internal status of the buffer.

Annotations
@Override
sun.security.ssl back to summary

private final Class CertificateAuthoritiesExtension.CHCertificateAuthoritiesConsumer

extends Object
implements ExtensionConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateAuthoritiesExtension.CHCertificateAuthoritiesConsumer
All Implemented Interfaces
sun.security.ssl.SSLExtension.ExtensionConsumer

Network data consumer of a "certificate_authorities" extension in the ClientHello handshake message.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

CHCertificateAuthoritiesConsumerback to summary
private CHCertificateAuthoritiesConsumer()

Method Detail

consumeback to summary
public void consume(ConnectionContext context, SSLHandshake.HandshakeMessage message, ByteBuffer buffer) throws IOException

Implements sun.security.ssl.SSLExtension.ExtensionConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

private final Class CertificateAuthoritiesExtension.CHCertificateAuthoritiesProducer

extends Object
implements HandshakeProducer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateAuthoritiesExtension.CHCertificateAuthoritiesProducer
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

Network data producer of a "certificate_authorities" extension in the ClientHello handshake message.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

CHCertificateAuthoritiesProducerback to summary
private CHCertificateAuthoritiesProducer()

Method Detail

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

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override
sun.security.ssl back to summary

private final Class CertificateAuthoritiesExtension.CRCertificateAuthoritiesConsumer

extends Object
implements ExtensionConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateAuthoritiesExtension.CRCertificateAuthoritiesConsumer
All Implemented Interfaces
sun.security.ssl.SSLExtension.ExtensionConsumer

Network data consumer of a "certificate_authorities" extension in the CertificateRequest handshake message.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

CRCertificateAuthoritiesConsumerback to summary
private CRCertificateAuthoritiesConsumer()

Method Detail

consumeback to summary
public void consume(ConnectionContext context, SSLHandshake.HandshakeMessage message, ByteBuffer buffer) throws IOException

Implements sun.security.ssl.SSLExtension.ExtensionConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

private final Class CertificateAuthoritiesExtension.CRCertificateAuthoritiesProducer

extends Object
implements HandshakeProducer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateAuthoritiesExtension.CRCertificateAuthoritiesProducer
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

Network data producer of a "certificate_authorities" extension in the CertificateRequest handshake message.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

CRCertificateAuthoritiesProducerback to summary
private CRCertificateAuthoritiesProducer()

Method Detail

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

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override