Edit

Share via


SslContext Class

Definition

Class that encapsulates SSL session state..

public class SslContext : IDisposable, ObjCRuntime.INativeObject
type SslContext = class
    interface INativeObject
    interface IDisposable
Inheritance
SslContext
Implements

Constructors

SslContext(SslProtocolSide, SslConnectionType)

Properties

BufferedReadSize
ClientCertificateState
Connection
DatagramWriteSize
Handle

Handle (pointer) to the unmanaged object representation.

MaxDatagramRecordSize
MaxProtocol
MinProtocol
NegotiatedCipher
NegotiatedProtocol
PeerDomainName
PeerId
PeerTrust
SessionState

Methods

Dispose()

Releases the resources used by the SslContext object.

Dispose(Boolean)

Releases the resources used by the SslContext object.

Finalize()

Finalizer for the SslContext object

GetAlpnProtocols()
GetAlpnProtocols(Int32)
GetEnabledCiphers()
GetLastStatus()
GetRequestedPeerName()
GetSessionOption(SslSessionOption, Boolean)
GetSupportedCiphers()
GetTypeId()
Handshake()
Read(Byte[], nint)
ReHandshake()
SetAlpnProtocols(String[])
SetCertificate(SecIdentity, IEnumerable<SecCertificate>)
SetClientSideAuthenticate(SslAuthenticate)
SetDatagramHelloCookie(Byte[])
SetEnabledCiphers(IEnumerable<SslCipherSuite>)
SetEncryptionCertificate(SecIdentity, IEnumerable<SecCertificate>)

Developers should not use this deprecated method. Export ciphers are not available anymore.

SetError(SecStatusCode)
SetOcspResponse(NSData)
SetSessionConfig(NSString)
SetSessionConfig(SslSessionConfig)
SetSessionOption(SslSessionOption, Boolean)
SetSessionStrengthPolicy(SslSessionStrengthPolicy)
SetSessionTickets(Boolean)
Write(Byte[], nint)

Applies to