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

Inheritance: Org.BouncyCastle.Crypto.Tls.DtlsProtocol
Afficher le fichier Open project: bcgit/bc-csharp

Protected Properties

Свойство Type Description
mVerifyRequests bool

Méthodes publiques

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

Méthodes protégées

Méthode 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

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

Method Details

Accept() public méthode

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

DtlsServerProtocol() public méthode

public DtlsServerProtocol ( SecureRandom secureRandom ) : System
secureRandom Org.BouncyCastle.Security.SecureRandom
Résultat System

ExpectCertificateVerifyMessage() protected méthode

protected ExpectCertificateVerifyMessage ( ServerHandshakeState state ) : bool
state ServerHandshakeState
Résultat bool

GenerateCertificateRequest() protected méthode

protected GenerateCertificateRequest ( ServerHandshakeState state, CertificateRequest certificateRequest ) : byte[]
state ServerHandshakeState
certificateRequest CertificateRequest
Résultat byte[]

GenerateCertificateStatus() protected méthode

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

GenerateNewSessionTicket() protected méthode

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

GenerateServerHello() protected méthode

protected GenerateServerHello ( ServerHandshakeState state ) : byte[]
state ServerHandshakeState
Résultat byte[]

InvalidateSession() protected méthode

protected InvalidateSession ( ServerHandshakeState state ) : void
state ServerHandshakeState
Résultat void

NotifyClientCertificate() protected méthode

protected NotifyClientCertificate ( ServerHandshakeState state, Certificate clientCertificate ) : void
state ServerHandshakeState
clientCertificate Certificate
Résultat void

ProcessCertificateVerify() protected méthode

protected ProcessCertificateVerify ( ServerHandshakeState state, byte body, TlsHandshakeHash prepareFinishHash ) : void
state ServerHandshakeState
body byte
prepareFinishHash TlsHandshakeHash
Résultat void

ProcessClientCertificate() protected méthode

protected ProcessClientCertificate ( ServerHandshakeState state, byte body ) : void
state ServerHandshakeState
body byte
Résultat void

ProcessClientHello() protected méthode

protected ProcessClientHello ( ServerHandshakeState state, byte body ) : void
state ServerHandshakeState
body byte
Résultat void

ProcessClientKeyExchange() protected méthode

protected ProcessClientKeyExchange ( ServerHandshakeState state, byte body ) : void
state ServerHandshakeState
body byte
Résultat void

ProcessClientSupplementalData() protected méthode

protected ProcessClientSupplementalData ( ServerHandshakeState state, byte body ) : void
state ServerHandshakeState
body byte
Résultat void

Property Details

mVerifyRequests protected_oe property

protected bool mVerifyRequests
Résultat bool