struct {
ClientCertificateType certificate_types<1..2^8-1>;
DistinguishedName certificate_authorities<3..2^16-1>;
} CertificateRequest;
Updated for RFC 5246:
struct {
ClientCertificateType certificate_types<1..2^8-1>;
SignatureAndHashAlgorithm supported_signature_algorithms<2^16-1>;
DistinguishedName certificate_authorities<0..2^16-1>;
} CertificateRequest;
Revised for RFC 8446:
struct {
opaque certificate_request_context<0..2^8-1>;
Extension extensions<2..2^16-1>;
} CertificateRequest;
ClientCertificateType, X500Name
| Modifier and Type | Field and Description |
|---|---|
| protected final Vector | |
| protected final byte[] | |
| protected final short[] | |
| protected final Vector | |
| protected final Vector |
| Access | Constructor and Description |
|---|---|
| public | CertificateRequest(short[]
see certificateTypes, Vector<E> supportedSignatureAlgorithms, Vector<E> certificateAuthorities)ClientCertificateType for valid constants.
|
| public | CertificateRequest(byte[] certificateRequestContext, Vector<E> supportedSignatureAlgorithms, Vector<E> supportedSignatureAlgorithmsCert, Vector<E> certificateAuthorities)
|
| private | CertificateRequest(byte[] certificateRequestContext, short[] certificateTypes, Vector<E> supportedSignatureAlgorithms, Vector<E> supportedSignatureAlgorithmsCert, Vector<E> certificateAuthorities)
|
| Modifier and Type | Method and Description |
|---|---|
| private static Vector | |
| public void | encode(TlsContext
the context, OutputStream TlsContext of the current connection.the output)OutputStream to encode to.Encode this |
| public Vector | |
| public byte[] | |
| public short[] | |
| public Vector | |
| public Vector | |
| public boolean | |
| public static CertificateRequest | Returns: aCertificateRequest object.the context, InputStream TlsContext of the current connection.the input)InputStream to parse from.Parse a |
| certificateAuthorities | back to summary |
|---|---|
| protected final Vector<E> certificateAuthorities | |
| certificateRequestContext | back to summary |
|---|---|
| protected final byte[] certificateRequestContext | |
| certificateTypes | back to summary |
|---|---|
| protected final short[] certificateTypes | |
| supportedSignatureAlgorithms | back to summary |
|---|---|
| protected final Vector<E> supportedSignatureAlgorithms | |
| supportedSignatureAlgorithmsCert | back to summary |
|---|---|
| protected final Vector<E> supportedSignatureAlgorithmsCert | |
| CertificateRequest | back to summary |
|---|---|
public CertificateRequest(short[] certificateTypes, Vector<E> supportedSignatureAlgorithms, Vector<E> certificateAuthorities)
| |
| CertificateRequest | back to summary |
|---|---|
| public CertificateRequest(byte[] certificateRequestContext, Vector<E> supportedSignatureAlgorithms, Vector<E> supportedSignatureAlgorithmsCert, Vector<E> certificateAuthorities) throws IOException | |
| CertificateRequest | back to summary |
|---|---|
| private CertificateRequest(byte[] certificateRequestContext, short[] certificateTypes, Vector<E> supportedSignatureAlgorithms, Vector<E> supportedSignatureAlgorithmsCert, Vector<E> certificateAuthorities) | |
| checkSupportedSignatureAlgorithms | back to summary |
|---|---|
| private static Vector | |
| encode | back to summary |
|---|---|
| public void encode(TlsContext context, OutputStream output) throws IOException Encode this
| |
| getCertificateAuthorities | back to summary |
|---|---|
| public Vector | |
| getCertificateRequestContext | back to summary |
|---|---|
| public byte[] getCertificateRequestContext() | |
| getCertificateTypes | back to summary |
|---|---|
public short[] getCertificateTypes()
| |
| getSupportedSignatureAlgorithms | back to summary |
|---|---|
public Vector
| |
| getSupportedSignatureAlgorithmsCert | back to summary |
|---|---|
public Vector
| |
| hasCertificateRequestContext | back to summary |
|---|---|
| public boolean hasCertificateRequestContext(byte[] certificateRequestContext) | |
| parse | back to summary |
|---|---|
| public static CertificateRequest parse(TlsContext context, InputStream input) throws IOException Parse a
| |