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

Inheritance: DatagramTransport
Mostrar archivo Open project: bcgit/bc-csharp Class Usage Examples

Private Properties

Property Type Description
CloseTransport void
DtlsRecordLayer System
Fail void
Failed void
GetMacSequenceNumber long
HandshakeSuccessful void
InitPendingEpoch void
RaiseAlert void
ReceiveRecord int
ResetWriteEpoch void
SendRecord void
SetPlaintextLimit void
SetWriteVersion void
Warn void

Public Methods

Method Description
Close ( ) : void
GetReceiveLimit ( ) : int
GetSendLimit ( ) : int
Receive ( byte buf, int off, int len, int waitMillis ) : int
Send ( byte buf, int off, int len ) : void

Private Methods

Method Description
CloseTransport ( ) : void
DtlsRecordLayer ( DatagramTransport transport, TlsContext context, TlsPeer peer, byte contentType ) : System
Fail ( byte alertDescription ) : void
Failed ( ) : void
GetMacSequenceNumber ( int epoch, long sequence_number ) : long
HandshakeSuccessful ( DtlsHandshakeRetransmit retransmit ) : void
InitPendingEpoch ( TlsCipher pendingCipher ) : void
RaiseAlert ( byte alertLevel, byte alertDescription, string message, Exception cause ) : void
ReceiveRecord ( byte buf, int off, int len, int waitMillis ) : int
ResetWriteEpoch ( ) : void
SendRecord ( byte contentType, byte buf, int off, int len ) : void
SetPlaintextLimit ( int plaintextLimit ) : void
SetWriteVersion ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion writeVersion ) : void
Warn ( byte alertDescription, string message ) : void

Method Details

Close() public method

public Close ( ) : void
return void

GetReceiveLimit() public method

public GetReceiveLimit ( ) : int
return int

GetSendLimit() public method

public GetSendLimit ( ) : int
return int

Receive() public method

public Receive ( byte buf, int off, int len, int waitMillis ) : int
buf byte
off int
len int
waitMillis int
return int

Send() public method

public Send ( byte buf, int off, int len ) : void
buf byte
off int
len int
return void