Property | Type | Description | |
---|---|---|---|
mAllowCertificateStatus | bool | ||
mBlocking | bool | ||
mClientExtensions | IDictionary | ||
mConnectionState | short | ||
mExpectSessionTicket | bool | ||
mInputBuffers | Org.BouncyCastle.Crypto.Tls.ByteQueueStream | ||
mOfferedCipherSuites | int[] | ||
mOfferedCompressionMethods | byte[] | ||
mOutputBuffer | Org.BouncyCastle.Crypto.Tls.ByteQueueStream | ||
mPeerCertificate | |||
mReceivedChangeCipherSpec | bool | ||
mResumedSession | bool | ||
mSecureRandom | |||
mSecureRenegotiation | bool | ||
mSecurityParameters | |||
mServerExtensions | IDictionary | ||
mSessionParameters | Org.BouncyCastle.Crypto.Tls.SessionParameters | ||
mTlsSession | TlsSession |
Property | Type | Description | |
---|---|---|---|
ProcessAlert | void | ||
ProcessApplicationData | void | ||
ProcessChangeCipherSpec | void | ||
ProcessHandshake | void |
Method | Description | |
---|---|---|
Close ( ) : void | ||
GetAvailableInputBytes ( ) : int | ||
GetAvailableOutputBytes ( ) : int | ||
OfferInput ( byte input ) : void | ||
OfferOutput ( byte buffer, int offset, int length ) : void | ||
ReadInput ( byte buffer, int offset, int length ) : int | ||
ReadOutput ( byte buffer, int offset, int length ) : int | ||
TlsProtocol ( |
||
TlsProtocol ( Stream stream, |
||
TlsProtocol ( Stream input, Stream output, |
Method | Description | |
---|---|---|
ApplicationDataAvailable ( ) : int | ||
ApplyMaxFragmentLengthExtension ( ) : void | ||
AssertEmpty ( |
||
BlockForHandshake ( ) : void | ||
CheckReceivedChangeCipherSpec ( bool expected ) : void | ||
CleanupHandshake ( ) : void | ||
CompleteHandshake ( ) : void | ||
CreateRandomBlock ( bool useGmtUnixTime, IRandomGenerator randomGenerator ) : byte[] | ||
CreateRenegotiationInfo ( byte renegotiated_connection ) : byte[] | ||
CreateVerifyData ( bool isServer ) : byte[] | ||
EstablishMasterSecret ( TlsContext context, TlsKeyExchange keyExchange ) : void | ||
FailWithError ( byte alertLevel, byte alertDescription, string message, |
||
Flush ( ) : void | ||
GetCurrentPrfHash ( TlsContext context, TlsHandshakeHash handshakeHash, byte sslSender ) : byte[] | ||
GetPrfAlgorithm ( TlsContext context, int ciphersuite ) : int | ||
HandleChangeCipherSpecMessage ( ) : void | ||
HandleClose ( bool user_canceled ) : void | ||
HandleHandshakeMessage ( byte type, byte buf ) : void | ||
HandleWarningMessage ( byte description ) : void | ||
InvalidateSession ( ) : void | ||
ProcessFinishedMessage ( |
||
ProcessMaxFragmentLengthExtension ( IDictionary clientExtensions, IDictionary serverExtensions, byte alertDescription ) : short | ||
ProcessRecord ( byte protocol, byte buf, int offset, int len ) : void | ||
RaiseAlert ( byte alertLevel, byte alertDescription, string message, |
||
RaiseWarning ( byte alertDescription, string message ) : void | ||
ReadApplicationData ( byte buf, int offset, int len ) : int | ||
ReadExtensions ( |
||
ReadSupplementalDataMessage ( |
||
RefuseRenegotiation ( ) : void | ||
SafeReadRecord ( ) : void | ||
SafeWriteRecord ( byte type, byte buf, int offset, int len ) : void | ||
SendCertificateMessage ( |
||
SendChangeCipherSpecMessage ( ) : void | ||
SendFinishedMessage ( ) : void | ||
SendSupplementalDataMessage ( IList supplementalData ) : void | ||
SetAppDataSplitMode ( int appDataSplitMode ) : void | ||
WriteData ( byte buf, int offset, int len ) : void | ||
WriteExtensions ( Stream output, IDictionary extensions ) : void | ||
WriteHandshakeMessage ( byte buf, int off, int len ) : void | ||
WriteSelectedExtensions ( Stream output, IDictionary extensions, bool selectEmpty ) : void | ||
WriteSupplementalData ( Stream output, IList supplementalData ) : void |
Method | Description | |
---|---|---|
ProcessAlert ( ) : void | ||
ProcessApplicationData ( ) : void | ||
ProcessChangeCipherSpec ( byte buf, int off, int len ) : void | ||
ProcessHandshake ( ) : void |
protected ApplyMaxFragmentLengthExtension ( ) : void | ||
return | void |
protected static AssertEmpty ( |
||
buf | ||
return | void |
protected CheckReceivedChangeCipherSpec ( bool expected ) : void | ||
expected | bool | |
return | void |
protected static CreateRandomBlock ( bool useGmtUnixTime, IRandomGenerator randomGenerator ) : byte[] | ||
useGmtUnixTime | bool | |
randomGenerator | IRandomGenerator | |
return | byte[] |
protected static CreateRenegotiationInfo ( byte renegotiated_connection ) : byte[] | ||
renegotiated_connection | byte | |
return | byte[] |
protected CreateVerifyData ( bool isServer ) : byte[] | ||
isServer | bool | |
return | byte[] |
protected static EstablishMasterSecret ( TlsContext context, TlsKeyExchange keyExchange ) : void | ||
context | TlsContext | |
keyExchange | TlsKeyExchange | |
return | void |
protected FailWithError ( byte alertLevel, byte alertDescription, string message, |
||
alertLevel | byte | |
alertDescription | byte | |
message | string | |
cause | ||
return | void |
protected static GetCurrentPrfHash ( TlsContext context, TlsHandshakeHash handshakeHash, byte sslSender ) : byte[] | ||
context | TlsContext | |
handshakeHash | TlsHandshakeHash | |
sslSender | byte | |
return | byte[] |
protected static GetPrfAlgorithm ( TlsContext context, int ciphersuite ) : int | ||
context | TlsContext | |
ciphersuite | int | |
return | int |
protected HandleChangeCipherSpecMessage ( ) : void | ||
return | void |
protected HandleClose ( bool user_canceled ) : void | ||
user_canceled | bool | |
return | void |
protected abstract HandleHandshakeMessage ( byte type, byte buf ) : void | ||
type | byte | |
buf | byte | |
return | void |
protected HandleWarningMessage ( byte description ) : void | ||
description | byte | |
return | void |
public OfferOutput ( byte buffer, int offset, int length ) : void | ||
buffer | byte | |
offset | int | |
length | int | |
return | void |
protected ProcessFinishedMessage ( |
||
buf | ||
return | void |
protected ProcessMaxFragmentLengthExtension ( IDictionary clientExtensions, IDictionary serverExtensions, byte alertDescription ) : short | ||
clientExtensions | IDictionary | |
serverExtensions | IDictionary | |
alertDescription | byte | |
return | short |
protected ProcessRecord ( byte protocol, byte buf, int offset, int len ) : void | ||
protocol | byte | |
buf | byte | |
offset | int | |
len | int | |
return | void |
protected RaiseAlert ( byte alertLevel, byte alertDescription, string message, |
||
alertLevel | byte | |
alertDescription | byte | |
message | string | |
cause | ||
return | void |
protected RaiseWarning ( byte alertDescription, string message ) : void | ||
alertDescription | byte | |
message | string | |
return | void |
protected ReadApplicationData ( byte buf, int offset, int len ) : int | ||
buf | byte | |
offset | int | |
len | int | |
return | int |
protected static ReadExtensions ( |
||
input | ||
return | IDictionary |
public ReadInput ( byte buffer, int offset, int length ) : int | ||
buffer | byte | |
offset | int | |
length | int | |
return | int |
public ReadOutput ( byte buffer, int offset, int length ) : int | ||
buffer | byte | |
offset | int | |
length | int | |
return | int |
protected static ReadSupplementalDataMessage ( |
||
input | ||
return | IList |
protected SafeWriteRecord ( byte type, byte buf, int offset, int len ) : void | ||
type | byte | |
buf | byte | |
offset | int | |
len | int | |
return | void |
protected SendCertificateMessage ( |
||
certificate | ||
return | void |
protected SendChangeCipherSpecMessage ( ) : void | ||
return | void |
protected SendSupplementalDataMessage ( IList supplementalData ) : void | ||
supplementalData | IList | |
return | void |
protected SetAppDataSplitMode ( int appDataSplitMode ) : void | ||
appDataSplitMode | int | |
return | void |
public TlsProtocol ( |
||
secureRandom | ||
return | System |
public TlsProtocol ( Stream stream, |
||
stream | Stream | |
secureRandom | ||
return | System |
public TlsProtocol ( Stream input, Stream output, |
||
input | Stream | |
output | Stream | |
secureRandom | ||
return | System |
protected WriteData ( byte buf, int offset, int len ) : void | ||
buf | byte | |
offset | int | |
len | int | |
return | void |
protected static WriteExtensions ( Stream output, IDictionary extensions ) : void | ||
output | Stream | |
extensions | IDictionary | |
return | void |
protected WriteHandshakeMessage ( byte buf, int off, int len ) : void | ||
buf | byte | |
off | int | |
len | int | |
return | void |
protected static WriteSelectedExtensions ( Stream output, IDictionary extensions, bool selectEmpty ) : void | ||
output | Stream | |
extensions | IDictionary | |
selectEmpty | bool | |
return | void |
protected static WriteSupplementalData ( Stream output, IList supplementalData ) : void | ||
output | Stream | |
supplementalData | IList | |
return | void |
protected ByteQueueStream,Org.BouncyCastle.Crypto.Tls mInputBuffers | ||
return | Org.BouncyCastle.Crypto.Tls.ByteQueueStream |
protected byte[] mOfferedCompressionMethods | ||
return | byte[] |
protected ByteQueueStream,Org.BouncyCastle.Crypto.Tls mOutputBuffer | ||
return | Org.BouncyCastle.Crypto.Tls.ByteQueueStream |
protected Certificate,Org.BouncyCastle.Crypto.Tls mPeerCertificate | ||
return |
protected SecureRandom,Org.BouncyCastle.Security mSecureRandom | ||
return |
protected SecurityParameters,Org.BouncyCastle.Crypto.Tls mSecurityParameters | ||
return |
protected SessionParameters,Org.BouncyCastle.Crypto.Tls mSessionParameters | ||
return | Org.BouncyCastle.Crypto.Tls.SessionParameters |