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, getKeyExchange
allowEncryptThenMAC, allowTruncatedHMac, checkServerExtensions, getCertificateStatus, getCipher, getCompression, getCompressionMethods, getNewSessionTicket, getSelectedCipherSuite, getSelectedCompressionMethod, getServerExtensions, getServerSupplementalData, getServerVersion, init, notifyClientVersion, notifyFallback, notifyOfferedCipherSuites, notifyOfferedCompressionMethods, processClientExtensions, processClientSupplementalData, supportsClientECCCapabilities
notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
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
protected int[] getCipherSuites()
getCipherSuites
in class org.bouncycastle.crypto.tls.DefaultTlsServer
public org.bouncycastle.crypto.tls.CertificateRequest getCertificateRequest() throws IOException
getCertificateRequest
in interface org.bouncycastle.crypto.tls.TlsServer
getCertificateRequest
in class org.bouncycastle.crypto.tls.AbstractTlsServer
IOException
public void notifyClientCertificate(org.bouncycastle.crypto.tls.Certificate clientCertificate) throws IOException
notifyClientCertificate
in interface org.bouncycastle.crypto.tls.TlsServer
notifyClientCertificate
in class org.bouncycastle.crypto.tls.AbstractTlsServer
IOException
protected org.bouncycastle.crypto.tls.ProtocolVersion getMaximumVersion()
getMaximumVersion
in class org.bouncycastle.crypto.tls.AbstractTlsServer
protected org.bouncycastle.crypto.tls.ProtocolVersion getMinimumVersion()
getMinimumVersion
in class org.bouncycastle.crypto.tls.AbstractTlsServer
protected org.bouncycastle.crypto.tls.TlsEncryptionCredentials getRSAEncryptionCredentials() throws IOException
getRSAEncryptionCredentials
in class org.bouncycastle.crypto.tls.DefaultTlsServer
IOException
protected org.bouncycastle.crypto.tls.TlsSignerCredentials getRSASignerCredentials() throws IOException
getRSASignerCredentials
in class org.bouncycastle.crypto.tls.DefaultTlsServer
IOException
Copyright © 2019 OpenDaylight. All rights reserved.