public class DtlsServer
extends org.bouncycastle.crypto.tls.DefaultTlsServer
cipherFactory, clientECPointFormats, clientExtensions, clientVersion, context, eccCipherSuitesOffered, encryptThenMACOffered, maxFragmentLengthOffered, namedCurves, offeredCipherSuites, offeredCompressionMethods, selectedCipherSuite, selectedCompressionMethod, serverECPointFormats, serverExtensions, serverVersion, supportedSignatureAlgorithms, truncatedHMacOffered| Constructor and Description |
|---|
DtlsServer(File root,
File cert,
File key) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.crypto.tls.CertificateRequest |
getCertificateRequest() |
protected int[] |
getCipherSuites() |
protected org.bouncycastle.crypto.tls.ProtocolVersion |
getMaximumVersion() |
protected org.bouncycastle.crypto.tls.ProtocolVersion |
getMinimumVersion() |
protected org.bouncycastle.crypto.tls.TlsEncryptionCredentials |
getRSAEncryptionCredentials() |
protected org.bouncycastle.crypto.tls.TlsSignerCredentials |
getRSASignerCredentials() |
void |
notifyAlertRaised(short alertLevel,
short alertDescription,
String message,
Throwable cause) |
void |
notifyAlertReceived(short alertLevel,
short alertDescription) |
void |
notifyClientCertificate(org.bouncycastle.crypto.tls.Certificate clientCertificate) |
createDHEKeyExchange, createDHKeyExchange, createECDHEKeyExchange, createECDHKeyExchange, createRSAKeyExchange, getCredentials, getDHParameters, getDSASignerCredentials, getECDSASignerCredentials, getKeyExchangeallowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getNewSessionTicket, getSelectedCipherSuite, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientExtensions, processClientSupplementalData, supportsClientECCCapabilitiesnotifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTimepublic 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.AbstractTlsPeerprotected int[] getCipherSuites()
getCipherSuites in class org.bouncycastle.crypto.tls.DefaultTlsServerpublic org.bouncycastle.crypto.tls.CertificateRequest getCertificateRequest()
throws IOException
getCertificateRequest in interface org.bouncycastle.crypto.tls.TlsServergetCertificateRequest in class org.bouncycastle.crypto.tls.AbstractTlsServerIOExceptionpublic void notifyClientCertificate(org.bouncycastle.crypto.tls.Certificate clientCertificate)
throws IOException
notifyClientCertificate in interface org.bouncycastle.crypto.tls.TlsServernotifyClientCertificate in class org.bouncycastle.crypto.tls.AbstractTlsServerIOExceptionprotected org.bouncycastle.crypto.tls.ProtocolVersion getMaximumVersion()
getMaximumVersion in class org.bouncycastle.crypto.tls.AbstractTlsServerprotected org.bouncycastle.crypto.tls.ProtocolVersion getMinimumVersion()
getMinimumVersion in class org.bouncycastle.crypto.tls.AbstractTlsServerprotected org.bouncycastle.crypto.tls.TlsEncryptionCredentials getRSAEncryptionCredentials()
throws IOException
getRSAEncryptionCredentials in class org.bouncycastle.crypto.tls.DefaultTlsServerIOExceptionprotected org.bouncycastle.crypto.tls.TlsSignerCredentials getRSASignerCredentials()
throws IOException
getRSASignerCredentials in class org.bouncycastle.crypto.tls.DefaultTlsServerIOExceptionCopyright © 2019 OpenDaylight. All rights reserved.