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

pack-priv final Class CertificateRequest

extends Object
Class Inheritance
Static Imports
sun.security.ssl.SignatureScheme.CERTIFICATE_SCOPE, .SignatureScheme.HANDSHAKE_SCOPE

Pack of the CertificateRequest handshake message.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static enum
private static class
CertificateRequest.T10CertificateRequestConsumer

The "CertificateRequest" handshake message consumer for SSL 3.0 and TLS 1.0/1.1.

pack-priv static class
CertificateRequest.T10CertificateRequestMessage

The "CertificateRequest" handshake message for SSL 3.0 and TLS 1.0/1.1.

private static class
CertificateRequest.T10CertificateRequestProducer

The "CertificateRequest" handshake message producer for SSL 3.0 and TLS 1.0/1.1.

private static class
CertificateRequest.T12CertificateRequestConsumer

The "CertificateRequest" handshake message consumer for TLS 1.2.

pack-priv static class
CertificateRequest.T12CertificateRequestMessage

The CertificateRequest handshake message for TLS 1.2.

private static class
CertificateRequest.T12CertificateRequestProducer

The "CertificateRequest" handshake message producer for TLS 1.2.

private static class
CertificateRequest.T13CertificateRequestConsumer

The "CertificateRequest" handshake message consumer for TLS 1.3.

pack-priv static class
CertificateRequest.T13CertificateRequestMessage

The CertificateRequest handshake message for TLS 1.3.

private static class
CertificateRequest.T13CertificateRequestProducer

The "CertificateRequest" handshake message producer for TLS 1.3.

Field Summary

Modifier and TypeField and Description
pack-priv static final SSLConsumer
pack-priv static final HandshakeProducer
pack-priv static final SSLConsumer
pack-priv static final HandshakeProducer
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

t10HandshakeConsumerback to summary
pack-priv static final SSLConsumer t10HandshakeConsumer
t10HandshakeProducerback to summary
pack-priv static final HandshakeProducer t10HandshakeProducer
t12HandshakeConsumerback to summary
pack-priv static final SSLConsumer t12HandshakeConsumer
t12HandshakeProducerback to summary
pack-priv static final HandshakeProducer t12HandshakeProducer
t13HandshakeConsumerback to summary
pack-priv static final SSLConsumer t13HandshakeConsumer
t13HandshakeProducerback to summary
pack-priv static final HandshakeProducer t13HandshakeProducer

Constructor Detail

CertificateRequestback to summary
pack-priv CertificateRequest()
sun.security.ssl back to summary

private final Enum CertificateRequest.ClientCertificateType

extends Enum<CertificateRequest.ClientCertificateType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final byte[]
public static final CertificateRequest.ClientCertificateType
public static final CertificateRequest.ClientCertificateType
public static final CertificateRequest.ClientCertificateType
public static final CertificateRequest.ClientCertificateType
public static final CertificateRequest.ClientCertificateType
public static final CertificateRequest.ClientCertificateType
pack-priv final byte
pack-priv final boolean
pack-priv final List<String>
pack-priv final String
public static final CertificateRequest.ClientCertificateType
public static final CertificateRequest.ClientCertificateType
public static final CertificateRequest.ClientCertificateType
public static final CertificateRequest.ClientCertificateType

Constructor Summary

AccessConstructor and Description
private
private
ClientCertificateType(byte id, String name, List<String> keyAlgorithm, boolean isAvailable)

Method Summary

Modifier and TypeMethod and Description
private static String[]
getKeyTypes(byte[] ids)

private static String
nameOf(byte id)

public static CertificateRequest.ClientCertificateType
private static CertificateRequest.ClientCertificateType
valueOf(byte id)

public static CertificateRequest.ClientCertificateType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CERT_TYPESback to summary
private static final byte[] CERT_TYPES
DSS_EPHEMERAL_DHback to summary
public static final CertificateRequest.ClientCertificateType DSS_EPHEMERAL_DH
DSS_FIXED_DHback to summary
public static final CertificateRequest.ClientCertificateType DSS_FIXED_DH
DSS_SIGNback to summary
public static final CertificateRequest.ClientCertificateType DSS_SIGN
ECDSA_FIXED_ECDHback to summary
public static final CertificateRequest.ClientCertificateType ECDSA_FIXED_ECDH
ECDSA_SIGNback to summary
public static final CertificateRequest.ClientCertificateType ECDSA_SIGN
FORTEZZA_DMSback to summary
public static final CertificateRequest.ClientCertificateType FORTEZZA_DMS
idback to summary
pack-priv final byte id
isAvailableback to summary
pack-priv final boolean isAvailable
keyAlgorithmback to summary
pack-priv final List<String> keyAlgorithm
nameback to summary
pack-priv final String name

Hides java.lang.Enum.name.

RSA_EPHEMERAL_DHback to summary
public static final CertificateRequest.ClientCertificateType RSA_EPHEMERAL_DH
RSA_FIXED_DHback to summary
public static final CertificateRequest.ClientCertificateType RSA_FIXED_DH
RSA_FIXED_ECDHback to summary
public static final CertificateRequest.ClientCertificateType RSA_FIXED_ECDH
RSA_SIGNback to summary
public static final CertificateRequest.ClientCertificateType RSA_SIGN

Constructor Detail

ClientCertificateTypeback to summary
private ClientCertificateType(byte id, String name)
ClientCertificateTypeback to summary
private ClientCertificateType(byte id, String name, List<String> keyAlgorithm, boolean isAvailable)

Method Detail

getKeyTypesback to summary
private static String[] getKeyTypes(byte[] ids)
nameOfback to summary
private static String nameOf(byte id)
valueOfback to summary
public static CertificateRequest.ClientCertificateType valueOf(String name)
valueOfback to summary
private static CertificateRequest.ClientCertificateType valueOf(byte id)
valuesback to summary
public static CertificateRequest.ClientCertificateType[] values()
sun.security.ssl back to summary

private final Class CertificateRequest.T10CertificateRequestConsumer

extends Object
implements SSLConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateRequest.T10CertificateRequestConsumer
All Implemented Interfaces
sun.security.ssl.SSLConsumer

The "CertificateRequest" handshake message consumer for SSL 3.0 and TLS 1.0/1.1.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T10CertificateRequestConsumerback to summary
private T10CertificateRequestConsumer()

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 CertificateRequest.T10CertificateRequestMessage

extends HandshakeMessage
Class Inheritance

The "CertificateRequest" handshake message for SSL 3.0 and TLS 1.0/1.1.

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv X500Principal[]
pack-priv String[]
public SSLHandshake
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

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

Constructor Detail

T10CertificateRequestMessageback to summary
pack-priv T10CertificateRequestMessage(HandshakeContext handshakeContext, X509Certificate[] trustedCerts, CipherSuite.KeyExchange keyExchange)
T10CertificateRequestMessageback to summary
pack-priv T10CertificateRequestMessage(HandshakeContext handshakeContext, ByteBuffer m) throws IOException

Method Detail

getAuthoritiesback to summary
pack-priv X500Principal[] getAuthorities()
getKeyTypesback to summary
pack-priv String[] getKeyTypes()
handshakeTypeback to summary
public SSLHandshake handshakeType()

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

Annotations
@Override
messageLengthback to summary
public int messageLength()

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

Annotations
@Override
sendback to summary
public void send(HandshakeOutStream hos) 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 CertificateRequest.T10CertificateRequestProducer

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

The "CertificateRequest" handshake message producer for SSL 3.0 and TLS 1.0/1.1.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T10CertificateRequestProducerback to summary
private T10CertificateRequestProducer()

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 CertificateRequest.T12CertificateRequestConsumer

extends Object
implements SSLConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateRequest.T12CertificateRequestConsumer
All Implemented Interfaces
sun.security.ssl.SSLConsumer

The "CertificateRequest" handshake message consumer for TLS 1.2.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T12CertificateRequestConsumerback to summary
private T12CertificateRequestConsumer()

Method Detail

choosePossessionback to summary
private static SSLPossession choosePossession(HandshakeContext hc, CertificateRequest.T12CertificateRequestMessage crm)
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 CertificateRequest.T12CertificateRequestMessage

extends HandshakeMessage
Class Inheritance

The CertificateRequest handshake message for TLS 1.2.

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
T12CertificateRequestMessage(HandshakeContext handshakeContext, X509Certificate[] trustedCerts, CipherSuite.KeyExchange keyExchange, List<SignatureScheme> signatureSchemes)

pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv X500Principal[]
pack-priv String[]
public SSLHandshake
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

algorithmIdsback to summary
pack-priv final int[] algorithmIds
authoritiesback to summary
pack-priv final List<byte[]> authorities
typesback to summary
pack-priv final byte[] types

Constructor Detail

T12CertificateRequestMessageback to summary
pack-priv T12CertificateRequestMessage(HandshakeContext handshakeContext, X509Certificate[] trustedCerts, CipherSuite.KeyExchange keyExchange, List<SignatureScheme> signatureSchemes) throws IOException
T12CertificateRequestMessageback to summary
pack-priv T12CertificateRequestMessage(HandshakeContext handshakeContext, ByteBuffer m) throws IOException

Method Detail

getAuthoritiesback to summary
pack-priv X500Principal[] getAuthorities()
getKeyTypesback to summary
pack-priv String[] getKeyTypes()
handshakeTypeback to summary
public SSLHandshake handshakeType()

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

Annotations
@Override
messageLengthback to summary
public int messageLength()

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

Annotations
@Override
sendback to summary
public void send(HandshakeOutStream hos) 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 CertificateRequest.T12CertificateRequestProducer

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

The "CertificateRequest" handshake message producer for TLS 1.2.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T12CertificateRequestProducerback to summary
private T12CertificateRequestProducer()

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 CertificateRequest.T13CertificateRequestConsumer

extends Object
implements SSLConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CertificateRequest.T13CertificateRequestConsumer
All Implemented Interfaces
sun.security.ssl.SSLConsumer

The "CertificateRequest" handshake message consumer for TLS 1.3.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T13CertificateRequestConsumerback to summary
private T13CertificateRequestConsumer()

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 CertificateRequest.T13CertificateRequestMessage

extends HandshakeMessage
Class Inheritance

The CertificateRequest handshake message for TLS 1.3.

Field Summary

Modifier and TypeField and Description
private final SSLExtensions
private final byte[]
Inherited from sun.security.ssl.SSLHandshake.HandshakeMessage:
handshakeContext

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv SSLHandshake
pack-priv int
pack-priv 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

extensionsback to summary
private final SSLExtensions extensions
requestContextback to summary
private final byte[] requestContext

Constructor Detail

T13CertificateRequestMessageback to summary
pack-priv T13CertificateRequestMessage(HandshakeContext handshakeContext)
T13CertificateRequestMessageback to summary
pack-priv T13CertificateRequestMessage(HandshakeContext handshakeContext, ByteBuffer m) throws IOException

Method Detail

handshakeTypeback to summary
pack-priv SSLHandshake handshakeType()

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

Annotations
@Override
messageLengthback to summary
pack-priv int messageLength()

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

Annotations
@Override
sendback to summary
pack-priv void send(HandshakeOutStream hos) 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 CertificateRequest.T13CertificateRequestProducer

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

The "CertificateRequest" handshake message producer for TLS 1.3.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

T13CertificateRequestProducerback to summary
private T13CertificateRequestProducer()

Method Detail

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

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override