Share via


SslContext Class

Definition

Class that encapsulates SSL session state..

public class SslContext : CoreFoundation.NativeObject
type SslContext = class
    inherit NativeObject
Inheritance

Constructors

Name Description
SslContext(SslProtocolSide, SslConnectionType)

Properties

Name Description
BufferedReadSize
ClientCertificateState
Connection
DatagramWriteSize
Handle (Inherited from DisposableObject)
MaxDatagramRecordSize
MaxProtocol
MinProtocol
NegotiatedProtocol
Owns (Inherited from DisposableObject)
PeerDomainName
PeerId
PeerTrust
SessionState

Methods

Name Description
ClearHandle() (Inherited from DisposableObject)
Dispose() (Inherited from DisposableObject)
Dispose(Boolean)

Releases the resources used by the SslContext object.

Equals(Object) (Inherited from DisposableObject)
GetAlpnProtocols()
GetAlpnProtocols(Int32)
GetCheckedHandle() (Inherited from DisposableObject)
GetHashCode() (Inherited from DisposableObject)
GetLastStatus()
GetRequestedPeerName()
GetSessionOption(SslSessionOption, Boolean)
GetTypeId()
Handshake()
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
Read(Byte[], IntPtr)
ReHandshake()
Release() (Inherited from NativeObject)
Retain() (Inherited from NativeObject)
SetAlpnProtocols(String[])
SetCertificate(SecIdentity, IEnumerable<SecCertificate>)
SetClientSideAuthenticate(SslAuthenticate)
SetDatagramHelloCookie(Byte[])
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[], IntPtr)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to