public class DtlsClient
extends org.bouncycastle.crypto.tls.DefaultTlsClient
| Modifier and Type | Field and Description |
|---|---|
protected org.bouncycastle.crypto.tls.TlsSession |
session |
| Constructor and Description |
|---|
DtlsClient(org.bouncycastle.crypto.tls.TlsSession session,
File root,
File cert,
File key) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.crypto.tls.TlsAuthentication |
getAuthentication() |
int[] |
getCipherSuites() |
Hashtable<?,?> |
getClientExtensions() |
org.bouncycastle.crypto.tls.ProtocolVersion |
getClientVersion() |
org.bouncycastle.crypto.tls.ProtocolVersion |
getMinimumVersion() |
org.bouncycastle.crypto.tls.TlsSession |
getSessionToResume() |
void |
notifyAlertRaised(short alertLevel,
short alertDescription,
String message,
Throwable cause) |
void |
notifyAlertReceived(short alertLevel,
short alertDescription) |
void |
notifyHandshakeComplete() |
void |
notifyServerVersion(org.bouncycastle.crypto.tls.ProtocolVersion serverVersion) |
createDHEKeyExchange, createDHKeyExchange, createECDHEKeyExchange, createECDHKeyExchange, createRSAKeyExchange, getKeyExchangeallowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientHelloRecordLayerVersion, getClientSupplementalData, getCompression, getCompressionMethods, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifySessionID, processServerExtensions, processServerSupplementalDatanotifySecureRenegotiation, shouldUseGMTUnixTimepublic org.bouncycastle.crypto.tls.TlsSession getSessionToResume()
getSessionToResume in interface org.bouncycastle.crypto.tls.TlsClientgetSessionToResume in class org.bouncycastle.crypto.tls.AbstractTlsClientpublic void notifyAlertRaised(short alertLevel,
short alertDescription,
String message,
Throwable cause)
notifyAlertRaised in interface org.bouncycastle.crypto.tls.TlsPeernotifyAlertRaised in class org.bouncycastle.crypto.tls.AbstractTlsPeerpublic void notifyAlertReceived(short alertLevel,
short alertDescription)
notifyAlertReceived in interface org.bouncycastle.crypto.tls.TlsPeernotifyAlertReceived in class org.bouncycastle.crypto.tls.AbstractTlsPeerpublic org.bouncycastle.crypto.tls.ProtocolVersion getClientVersion()
getClientVersion in interface org.bouncycastle.crypto.tls.TlsClientgetClientVersion in class org.bouncycastle.crypto.tls.AbstractTlsClientpublic org.bouncycastle.crypto.tls.ProtocolVersion getMinimumVersion()
getMinimumVersion in class org.bouncycastle.crypto.tls.AbstractTlsClientpublic int[] getCipherSuites()
getCipherSuites in interface org.bouncycastle.crypto.tls.TlsClientgetCipherSuites in class org.bouncycastle.crypto.tls.DefaultTlsClientpublic Hashtable<?,?> getClientExtensions() throws IOException
getClientExtensions in interface org.bouncycastle.crypto.tls.TlsClientgetClientExtensions in class org.bouncycastle.crypto.tls.AbstractTlsClientIOExceptionpublic void notifyServerVersion(org.bouncycastle.crypto.tls.ProtocolVersion serverVersion)
throws IOException
notifyServerVersion in interface org.bouncycastle.crypto.tls.TlsClientnotifyServerVersion in class org.bouncycastle.crypto.tls.AbstractTlsClientIOExceptionpublic org.bouncycastle.crypto.tls.TlsAuthentication getAuthentication()
throws IOException
IOExceptionpublic void notifyHandshakeComplete()
throws IOException
notifyHandshakeComplete in interface org.bouncycastle.crypto.tls.TlsPeernotifyHandshakeComplete in class org.bouncycastle.crypto.tls.AbstractTlsPeerIOExceptionCopyright © 2019 OpenDaylight. All rights reserved.