C# Class Org.BouncyCastle.Crypto.Tls.DtlsServerProtocol

Inheritance: Org.BouncyCastle.Crypto.Tls.DtlsProtocol
Mostrar archivo Open project: bcgit/bc-csharp

Protected Properties

Property Type Description
mVerifyRequests bool

Public Methods

Method Description
Accept ( TlsServer server, DatagramTransport transport ) : Org.BouncyCastle.Crypto.Tls.DtlsTransport
DtlsServerProtocol ( SecureRandom secureRandom ) : System

Protected Methods

Method Description
ExpectCertificateVerifyMessage ( ServerHandshakeState state ) : bool
GenerateCertificateRequest ( ServerHandshakeState state, CertificateRequest certificateRequest ) : byte[]
GenerateCertificateStatus ( ServerHandshakeState state, Org.BouncyCastle.Crypto.Tls.CertificateStatus certificateStatus ) : byte[]
GenerateNewSessionTicket ( ServerHandshakeState state, Org.BouncyCastle.Crypto.Tls.NewSessionTicket newSessionTicket ) : byte[]
GenerateServerHello ( ServerHandshakeState state ) : byte[]
InvalidateSession ( ServerHandshakeState state ) : void
NotifyClientCertificate ( ServerHandshakeState state, Certificate clientCertificate ) : void
ProcessCertificateVerify ( ServerHandshakeState state, byte body, TlsHandshakeHash prepareFinishHash ) : void
ProcessClientCertificate ( ServerHandshakeState state, byte body ) : void
ProcessClientHello ( ServerHandshakeState state, byte body ) : void
ProcessClientKeyExchange ( ServerHandshakeState state, byte body ) : void
ProcessClientSupplementalData ( ServerHandshakeState state, byte body ) : void

Private Methods

Method Description
AbortServerHandshake ( ServerHandshakeState state, DtlsRecordLayer recordLayer, byte alertDescription ) : void
ServerHandshake ( ServerHandshakeState state, DtlsRecordLayer recordLayer ) : Org.BouncyCastle.Crypto.Tls.DtlsTransport

Method Details

Accept() public method

public Accept ( TlsServer server, DatagramTransport transport ) : Org.BouncyCastle.Crypto.Tls.DtlsTransport
server TlsServer
transport DatagramTransport
return Org.BouncyCastle.Crypto.Tls.DtlsTransport

DtlsServerProtocol() public method

public DtlsServerProtocol ( SecureRandom secureRandom ) : System
secureRandom Org.BouncyCastle.Security.SecureRandom
return System

ExpectCertificateVerifyMessage() protected method

protected ExpectCertificateVerifyMessage ( ServerHandshakeState state ) : bool
state ServerHandshakeState
return bool

GenerateCertificateRequest() protected method

protected GenerateCertificateRequest ( ServerHandshakeState state, CertificateRequest certificateRequest ) : byte[]
state ServerHandshakeState
certificateRequest CertificateRequest
return byte[]

GenerateCertificateStatus() protected method

protected GenerateCertificateStatus ( ServerHandshakeState state, Org.BouncyCastle.Crypto.Tls.CertificateStatus certificateStatus ) : byte[]
state ServerHandshakeState
certificateStatus Org.BouncyCastle.Crypto.Tls.CertificateStatus
return byte[]

GenerateNewSessionTicket() protected method

protected GenerateNewSessionTicket ( ServerHandshakeState state, Org.BouncyCastle.Crypto.Tls.NewSessionTicket newSessionTicket ) : byte[]
state ServerHandshakeState
newSessionTicket Org.BouncyCastle.Crypto.Tls.NewSessionTicket
return byte[]

GenerateServerHello() protected method

protected GenerateServerHello ( ServerHandshakeState state ) : byte[]
state ServerHandshakeState
return byte[]

InvalidateSession() protected method

protected InvalidateSession ( ServerHandshakeState state ) : void
state ServerHandshakeState
return void

NotifyClientCertificate() protected method

protected NotifyClientCertificate ( ServerHandshakeState state, Certificate clientCertificate ) : void
state ServerHandshakeState
clientCertificate Certificate
return void

ProcessCertificateVerify() protected method

protected ProcessCertificateVerify ( ServerHandshakeState state, byte body, TlsHandshakeHash prepareFinishHash ) : void
state ServerHandshakeState
body byte
prepareFinishHash TlsHandshakeHash
return void

ProcessClientCertificate() protected method

protected ProcessClientCertificate ( ServerHandshakeState state, byte body ) : void
state ServerHandshakeState
body byte
return void

ProcessClientHello() protected method

protected ProcessClientHello ( ServerHandshakeState state, byte body ) : void
state ServerHandshakeState
body byte
return void

ProcessClientKeyExchange() protected method

protected ProcessClientKeyExchange ( ServerHandshakeState state, byte body ) : void
state ServerHandshakeState
body byte
return void

ProcessClientSupplementalData() protected method

protected ProcessClientSupplementalData ( ServerHandshakeState state, byte body ) : void
state ServerHandshakeState
body byte
return void

Property Details

mVerifyRequests protected_oe property

protected bool mVerifyRequests
return bool