Свойство | Тип | Описание | |
---|---|---|---|
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 |
Свойство | Тип | Описание | |
---|---|---|---|
ProcessAlert | void | ||
ProcessApplicationData | void | ||
ProcessChangeCipherSpec | void | ||
ProcessHandshake | void |
Метод | Описание | |
---|---|---|
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, |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ProcessAlert ( ) : void | ||
ProcessApplicationData ( ) : void | ||
ProcessChangeCipherSpec ( byte buf, int off, int len ) : void | ||
ProcessHandshake ( ) : void |
protected ApplicationDataAvailable ( ) : int | ||
Результат | int |
protected ApplyMaxFragmentLengthExtension ( ) : void | ||
Результат | void |
protected static AssertEmpty ( |
||
buf | ||
Результат | void |
protected CheckReceivedChangeCipherSpec ( bool expected ) : void | ||
expected | bool | |
Результат | void |
protected static CreateRandomBlock ( bool useGmtUnixTime, IRandomGenerator randomGenerator ) : byte[] | ||
useGmtUnixTime | bool | |
randomGenerator | IRandomGenerator | |
Результат | byte[] |
protected static CreateRenegotiationInfo ( byte renegotiated_connection ) : byte[] | ||
renegotiated_connection | byte | |
Результат | byte[] |
protected CreateVerifyData ( bool isServer ) : byte[] | ||
isServer | bool | |
Результат | byte[] |
protected static EstablishMasterSecret ( TlsContext context, TlsKeyExchange keyExchange ) : void | ||
context | TlsContext | |
keyExchange | TlsKeyExchange | |
Результат | void |
protected FailWithError ( byte alertLevel, byte alertDescription, string message, |
||
alertLevel | byte | |
alertDescription | byte | |
message | string | |
cause | ||
Результат | void |
protected static GetCurrentPrfHash ( TlsContext context, TlsHandshakeHash handshakeHash, byte sslSender ) : byte[] | ||
context | TlsContext | |
handshakeHash | TlsHandshakeHash | |
sslSender | byte | |
Результат | byte[] |
protected static GetPrfAlgorithm ( TlsContext context, int ciphersuite ) : int | ||
context | TlsContext | |
ciphersuite | int | |
Результат | int |
protected HandleChangeCipherSpecMessage ( ) : void | ||
Результат | void |
protected HandleClose ( bool user_canceled ) : void | ||
user_canceled | bool | |
Результат | void |
protected abstract HandleHandshakeMessage ( byte type, byte buf ) : void | ||
type | byte | |
buf | byte | |
Результат | void |
protected HandleWarningMessage ( byte description ) : void | ||
description | byte | |
Результат | void |
public OfferOutput ( byte buffer, int offset, int length ) : void | ||
buffer | byte | |
offset | int | |
length | int | |
Результат | void |
protected ProcessFinishedMessage ( |
||
buf | ||
Результат | void |
protected ProcessMaxFragmentLengthExtension ( IDictionary clientExtensions, IDictionary serverExtensions, byte alertDescription ) : short | ||
clientExtensions | IDictionary | |
serverExtensions | IDictionary | |
alertDescription | byte | |
Результат | short |
protected ProcessRecord ( byte protocol, byte buf, int offset, int len ) : void | ||
protocol | byte | |
buf | byte | |
offset | int | |
len | int | |
Результат | void |
protected RaiseAlert ( byte alertLevel, byte alertDescription, string message, |
||
alertLevel | byte | |
alertDescription | byte | |
message | string | |
cause | ||
Результат | void |
protected RaiseWarning ( byte alertDescription, string message ) : void | ||
alertDescription | byte | |
message | string | |
Результат | void |
protected ReadApplicationData ( byte buf, int offset, int len ) : int | ||
buf | byte | |
offset | int | |
len | int | |
Результат | int |
protected static ReadExtensions ( |
||
input | ||
Результат | IDictionary |
public ReadInput ( byte buffer, int offset, int length ) : int | ||
buffer | byte | |
offset | int | |
length | int | |
Результат | int |
public ReadOutput ( byte buffer, int offset, int length ) : int | ||
buffer | byte | |
offset | int | |
length | int | |
Результат | int |
protected static ReadSupplementalDataMessage ( |
||
input | ||
Результат | IList |
protected SafeWriteRecord ( byte type, byte buf, int offset, int len ) : void | ||
type | byte | |
buf | byte | |
offset | int | |
len | int | |
Результат | void |
protected SendCertificateMessage ( |
||
certificate | ||
Результат | void |
protected SendChangeCipherSpecMessage ( ) : void | ||
Результат | void |
protected SendSupplementalDataMessage ( IList supplementalData ) : void | ||
supplementalData | IList | |
Результат | void |
protected SetAppDataSplitMode ( int appDataSplitMode ) : void | ||
appDataSplitMode | int | |
Результат | void |
public TlsProtocol ( |
||
secureRandom | ||
Результат | System |
public TlsProtocol ( Stream stream, |
||
stream | Stream | |
secureRandom | ||
Результат | System |
public TlsProtocol ( Stream input, Stream output, |
||
input | Stream | |
output | Stream | |
secureRandom | ||
Результат | System |
protected WriteData ( byte buf, int offset, int len ) : void | ||
buf | byte | |
offset | int | |
len | int | |
Результат | void |
protected static WriteExtensions ( Stream output, IDictionary extensions ) : void | ||
output | Stream | |
extensions | IDictionary | |
Результат | void |
protected WriteHandshakeMessage ( byte buf, int off, int len ) : void | ||
buf | byte | |
off | int | |
len | int | |
Результат | void |
protected static WriteSelectedExtensions ( Stream output, IDictionary extensions, bool selectEmpty ) : void | ||
output | Stream | |
extensions | IDictionary | |
selectEmpty | bool | |
Результат | void |
protected static WriteSupplementalData ( Stream output, IList supplementalData ) : void | ||
output | Stream | |
supplementalData | IList | |
Результат | void |
protected ByteQueueStream,Org.BouncyCastle.Crypto.Tls mInputBuffers | ||
Результат | Org.BouncyCastle.Crypto.Tls.ByteQueueStream |
protected byte[] mOfferedCompressionMethods | ||
Результат | byte[] |
protected ByteQueueStream,Org.BouncyCastle.Crypto.Tls mOutputBuffer | ||
Результат | Org.BouncyCastle.Crypto.Tls.ByteQueueStream |
protected Certificate,Org.BouncyCastle.Crypto.Tls mPeerCertificate | ||
Результат |
protected bool mReceivedChangeCipherSpec | ||
Результат | bool |
protected SecureRandom,Org.BouncyCastle.Security mSecureRandom | ||
Результат |
protected SecurityParameters,Org.BouncyCastle.Crypto.Tls mSecurityParameters | ||
Результат |
protected SessionParameters,Org.BouncyCastle.Crypto.Tls mSessionParameters | ||
Результат | Org.BouncyCastle.Crypto.Tls.SessionParameters |