Class DtlsServerProtocol
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Tls
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class DtlsServerProtocol : DtlsProtocol
- Inheritance
-
DtlsServerProtocol
- Inherited Members
-
Constructors
DtlsServerProtocol(SecureRandom)
public DtlsServerProtocol(SecureRandom secureRandom)
Parameters
secureRandom
SecureRandom
Fields
mVerifyRequests
protected bool mVerifyRequests
Field Value
- bool
Properties
VerifyRequests
public virtual bool VerifyRequests { get; set; }
Property Value
- bool
Methods
Accept(TlsServer, DatagramTransport)
public virtual DtlsTransport Accept(TlsServer server, DatagramTransport transport)
Parameters
server
TlsServer
transport
DatagramTransport
Returns
- DtlsTransport
ExpectCertificateVerifyMessage(ServerHandshakeState)
protected virtual bool ExpectCertificateVerifyMessage(DtlsServerProtocol.ServerHandshakeState state)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
Returns
- bool
GenerateCertificateRequest(ServerHandshakeState, CertificateRequest)
protected virtual byte[] GenerateCertificateRequest(DtlsServerProtocol.ServerHandshakeState state, CertificateRequest certificateRequest)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
certificateRequest
CertificateRequest
Returns
- byte[]
GenerateCertificateStatus(ServerHandshakeState, CertificateStatus)
protected virtual byte[] GenerateCertificateStatus(DtlsServerProtocol.ServerHandshakeState state, CertificateStatus certificateStatus)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
certificateStatus
CertificateStatus
Returns
- byte[]
GenerateNewSessionTicket(ServerHandshakeState, NewSessionTicket)
protected virtual byte[] GenerateNewSessionTicket(DtlsServerProtocol.ServerHandshakeState state, NewSessionTicket newSessionTicket)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
newSessionTicket
NewSessionTicket
Returns
- byte[]
GenerateServerHello(ServerHandshakeState)
protected virtual byte[] GenerateServerHello(DtlsServerProtocol.ServerHandshakeState state)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
Returns
- byte[]
InvalidateSession(ServerHandshakeState)
protected virtual void InvalidateSession(DtlsServerProtocol.ServerHandshakeState state)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
NotifyClientCertificate(ServerHandshakeState, Certificate)
protected virtual void NotifyClientCertificate(DtlsServerProtocol.ServerHandshakeState state, Certificate clientCertificate)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
clientCertificate
Certificate
ProcessCertificateVerify(ServerHandshakeState, byte[], TlsHandshakeHash)
protected virtual void ProcessCertificateVerify(DtlsServerProtocol.ServerHandshakeState state, byte[] body, TlsHandshakeHash prepareFinishHash)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
body
byte[]
prepareFinishHash
TlsHandshakeHash
ProcessClientCertificate(ServerHandshakeState, byte[])
protected virtual void ProcessClientCertificate(DtlsServerProtocol.ServerHandshakeState state, byte[] body)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
body
byte[]
ProcessClientHello(ServerHandshakeState, byte[])
protected virtual void ProcessClientHello(DtlsServerProtocol.ServerHandshakeState state, byte[] body)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
body
byte[]
ProcessClientKeyExchange(ServerHandshakeState, byte[])
protected virtual void ProcessClientKeyExchange(DtlsServerProtocol.ServerHandshakeState state, byte[] body)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
body
byte[]
ProcessClientSupplementalData(ServerHandshakeState, byte[])
protected virtual void ProcessClientSupplementalData(DtlsServerProtocol.ServerHandshakeState state, byte[] body)
Parameters
state
DtlsServerProtocol.ServerHandshakeState
body
byte[]