public abstract class AbstractTlsKeyExchange extends Object implements TlsKeyExchange
| Modifier and Type | Field and Description |
|---|---|
protected TlsContext |
context |
protected int |
keyExchange |
protected Vector |
supportedSignatureAlgorithms |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTlsKeyExchange(int keyExchange,
Vector supportedSignatureAlgorithms) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateServerKeyExchange() |
void |
init(TlsContext context) |
protected DigitallySigned |
parseSignature(InputStream input) |
void |
processClientCertificate(Certificate clientCertificate) |
void |
processClientKeyExchange(InputStream input) |
void |
processServerCertificate(Certificate serverCertificate) |
void |
processServerCredentials(TlsCredentials serverCredentials) |
void |
processServerKeyExchange(InputStream input) |
boolean |
requiresServerKeyExchange() |
void |
skipClientCredentials() |
void |
skipServerKeyExchange() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateClientKeyExchange, generatePremasterSecret, processClientCredentials, skipServerCredentials, validateCertificateRequestprotected int keyExchange
protected Vector supportedSignatureAlgorithms
protected TlsContext context
protected AbstractTlsKeyExchange(int keyExchange,
Vector supportedSignatureAlgorithms)
protected DigitallySigned parseSignature(InputStream input) throws IOException
IOExceptionpublic void init(TlsContext context)
init in interface TlsKeyExchangepublic void processServerCertificate(Certificate serverCertificate) throws IOException
processServerCertificate in interface TlsKeyExchangeIOExceptionpublic void processServerCredentials(TlsCredentials serverCredentials) throws IOException
processServerCredentials in interface TlsKeyExchangeIOExceptionpublic boolean requiresServerKeyExchange()
requiresServerKeyExchange in interface TlsKeyExchangepublic byte[] generateServerKeyExchange()
throws IOException
generateServerKeyExchange in interface TlsKeyExchangeIOExceptionpublic void skipServerKeyExchange()
throws IOException
skipServerKeyExchange in interface TlsKeyExchangeIOExceptionpublic void processServerKeyExchange(InputStream input) throws IOException
processServerKeyExchange in interface TlsKeyExchangeIOExceptionpublic void skipClientCredentials()
throws IOException
skipClientCredentials in interface TlsKeyExchangeIOExceptionpublic void processClientCertificate(Certificate clientCertificate) throws IOException
processClientCertificate in interface TlsKeyExchangeIOExceptionpublic void processClientKeyExchange(InputStream input) throws IOException
processClientKeyExchange in interface TlsKeyExchangeIOExceptionCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.