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, getKeyExchange
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, getCipher, getClientHelloRecordLayerVersion, getClientSupplementalData, getCompression, getCompressionMethods, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifySessionID, processServerExtensions, processServerSupplementalData
notifySecureRenegotiation, shouldUseGMTUnixTime
public org.bouncycastle.crypto.tls.TlsSession getSessionToResume()
getSessionToResume
in interface org.bouncycastle.crypto.tls.TlsClient
getSessionToResume
in class org.bouncycastle.crypto.tls.AbstractTlsClient
public void notifyAlertRaised(short alertLevel, short alertDescription, String message, Throwable cause)
notifyAlertRaised
in interface org.bouncycastle.crypto.tls.TlsPeer
notifyAlertRaised
in class org.bouncycastle.crypto.tls.AbstractTlsPeer
public void notifyAlertReceived(short alertLevel, short alertDescription)
notifyAlertReceived
in interface org.bouncycastle.crypto.tls.TlsPeer
notifyAlertReceived
in class org.bouncycastle.crypto.tls.AbstractTlsPeer
public org.bouncycastle.crypto.tls.ProtocolVersion getClientVersion()
getClientVersion
in interface org.bouncycastle.crypto.tls.TlsClient
getClientVersion
in class org.bouncycastle.crypto.tls.AbstractTlsClient
public org.bouncycastle.crypto.tls.ProtocolVersion getMinimumVersion()
getMinimumVersion
in class org.bouncycastle.crypto.tls.AbstractTlsClient
public int[] getCipherSuites()
getCipherSuites
in interface org.bouncycastle.crypto.tls.TlsClient
getCipherSuites
in class org.bouncycastle.crypto.tls.DefaultTlsClient
public Hashtable<?,?> getClientExtensions() throws IOException
getClientExtensions
in interface org.bouncycastle.crypto.tls.TlsClient
getClientExtensions
in class org.bouncycastle.crypto.tls.AbstractTlsClient
IOException
public void notifyServerVersion(org.bouncycastle.crypto.tls.ProtocolVersion serverVersion) throws IOException
notifyServerVersion
in interface org.bouncycastle.crypto.tls.TlsClient
notifyServerVersion
in class org.bouncycastle.crypto.tls.AbstractTlsClient
IOException
public org.bouncycastle.crypto.tls.TlsAuthentication getAuthentication() throws IOException
IOException
public void notifyHandshakeComplete() throws IOException
notifyHandshakeComplete
in interface org.bouncycastle.crypto.tls.TlsPeer
notifyHandshakeComplete
in class org.bouncycastle.crypto.tls.AbstractTlsPeer
IOException
Copyright © 2019 OpenDaylight. All rights reserved.