Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.crypto.tls

 

constructor Island, macOS

 

constructor

 

__Global()

 

init()

Client

 

class method Client(conn: Conn; config: Reference<Config>): Reference<Conn>

 

static Reference<Conn> Client(Conn conn, Reference<Config> config)

 

static func Client(_ conn: Conn, _ config: Reference<Config>) -> Reference<Conn>

 

func Client(conn Conn, config Reference<Config>) Reference<Conn>

Parameters:

  • conn:
  • config:

CurveP256

 

const CurveP256: CurveID = 23;

 

const CurveID CurveP256 = 23

 

static let CurveP256: CurveID = 23

 

const CurveP256 CurveID =  = 23

CurveP384

 

const CurveP384: CurveID = 24;

 

const CurveID CurveP384 = 24

 

static let CurveP384: CurveID = 24

 

const CurveP384 CurveID =  = 24

CurveP521

 

const CurveP521: CurveID = 25;

 

const CurveID CurveP521 = 25

 

static let CurveP521: CurveID = 25

 

const CurveP521 CurveID =  = 25

Dial

 

// .NET, Island, macOS
class method Dial(network: string; addr: string; config: Reference<Config>): tuple of (Reference<Conn>, error)
// .NET Standard 2.0
class method Dial(network: string; addr: string; config: Reference<Config>): ValueTuple<Reference<Conn>, error>

 

// .NET, Island, macOS
static (Reference<Conn>, error) Dial(string network, string addr, Reference<Config> config)
// .NET Standard 2.0
static ValueTuple<Reference<Conn>, error> Dial(string network, string addr, Reference<Config> config)

 

// .NET, Island, macOS
static func Dial(_ network: string, _ addr: string, _ config: Reference<Config>) -> (Reference<Conn>, error)
// .NET Standard 2.0
static func Dial(_ network: string, _ addr: string, _ config: Reference<Config>) -> ValueTuple<Reference<Conn>, error>

 

// .NET, Island, macOS
func Dial(network string, addr string, config Reference<Config>) (Reference<Conn>, error)
// .NET Standard 2.0
func Dial(network string, addr string, config Reference<Config>) ValueTuple<Reference<Conn>, error>

Parameters:

  • network:
  • addr:
  • config:

DialWithDialer

 

// .NET, Island, macOS
class method DialWithDialer(dialer: Reference<Dialer>; network: string; addr: string; config: Reference<Config>): tuple of (Reference<Conn>, error)
// .NET Standard 2.0
class method DialWithDialer(dialer: Reference<Dialer>; network: string; addr: string; config: Reference<Config>): ValueTuple<Reference<Conn>, error>

 

// .NET, Island, macOS
static (Reference<Conn>, error) DialWithDialer(Reference<Dialer> dialer, string network, string addr, Reference<Config> config)
// .NET Standard 2.0
static ValueTuple<Reference<Conn>, error> DialWithDialer(Reference<Dialer> dialer, string network, string addr, Reference<Config> config)

 

// .NET, Island, macOS
static func DialWithDialer(_ dialer: Reference<Dialer>, _ network: string, _ addr: string, _ config: Reference<Config>) -> (Reference<Conn>, error)
// .NET Standard 2.0
static func DialWithDialer(_ dialer: Reference<Dialer>, _ network: string, _ addr: string, _ config: Reference<Config>) -> ValueTuple<Reference<Conn>, error>

 

// .NET, Island, macOS
func DialWithDialer(dialer Reference<Dialer>, network string, addr string, config Reference<Config>) (Reference<Conn>, error)
// .NET Standard 2.0
func DialWithDialer(dialer Reference<Dialer>, network string, addr string, config Reference<Config>) ValueTuple<Reference<Conn>, error>

Parameters:

  • dialer:
  • network:
  • addr:
  • config:

ECDSAWithP256AndSHA256

 

const ECDSAWithP256AndSHA256: SignatureScheme = 1027;

 

const SignatureScheme ECDSAWithP256AndSHA256 = 1027

 

static let ECDSAWithP256AndSHA256: SignatureScheme = 1027

 

const ECDSAWithP256AndSHA256 SignatureScheme =  = 1027

ECDSAWithP384AndSHA384

 

const ECDSAWithP384AndSHA384: SignatureScheme = 1283;

 

const SignatureScheme ECDSAWithP384AndSHA384 = 1283

 

static let ECDSAWithP384AndSHA384: SignatureScheme = 1283

 

const ECDSAWithP384AndSHA384 SignatureScheme =  = 1283

ECDSAWithP521AndSHA512

 

const ECDSAWithP521AndSHA512: SignatureScheme = 1539;

 

const SignatureScheme ECDSAWithP521AndSHA512 = 1539

 

static let ECDSAWithP521AndSHA512: SignatureScheme = 1539

 

const ECDSAWithP521AndSHA512 SignatureScheme =  = 1539

ECDSAWithSHA1

 

const ECDSAWithSHA1: SignatureScheme = 515;

 

const SignatureScheme ECDSAWithSHA1 = 515

 

static let ECDSAWithSHA1: SignatureScheme = 515

 

const ECDSAWithSHA1 SignatureScheme =  = 515

Listen

 

// .NET, Island, macOS
class method Listen(network: string; laddr: string; config: Reference<Config>): tuple of (Listener, error)
// .NET Standard 2.0
class method Listen(network: string; laddr: string; config: Reference<Config>): ValueTuple<Listener, error>

 

// .NET, Island, macOS
static (Listener, error) Listen(string network, string laddr, Reference<Config> config)
// .NET Standard 2.0
static ValueTuple<Listener, error> Listen(string network, string laddr, Reference<Config> config)

 

// .NET, Island, macOS
static func Listen(_ network: string, _ laddr: string, _ config: Reference<Config>) -> (Listener, error)
// .NET Standard 2.0
static func Listen(_ network: string, _ laddr: string, _ config: Reference<Config>) -> ValueTuple<Listener, error>

 

// .NET, Island, macOS
func Listen(network string, laddr string, config Reference<Config>) (Listener, error)
// .NET Standard 2.0
func Listen(network string, laddr string, config Reference<Config>) ValueTuple<Listener, error>

Parameters:

  • network:
  • laddr:
  • config:

LoadX509KeyPair

 

// .NET, Island, macOS
class method LoadX509KeyPair(certFile: string; keyFile: string): tuple of (Certificate, error)
// .NET Standard 2.0
class method LoadX509KeyPair(certFile: string; keyFile: string): ValueTuple<Certificate, error>

 

// .NET, Island, macOS
static (Certificate, error) LoadX509KeyPair(string certFile, string keyFile)
// .NET Standard 2.0
static ValueTuple<Certificate, error> LoadX509KeyPair(string certFile, string keyFile)

 

// .NET, Island, macOS
static func LoadX509KeyPair(_ certFile: string, _ keyFile: string) -> (Certificate, error)
// .NET Standard 2.0
static func LoadX509KeyPair(_ certFile: string, _ keyFile: string) -> ValueTuple<Certificate, error>

 

// .NET, Island, macOS
func LoadX509KeyPair(certFile string, keyFile string) (Certificate, error)
// .NET Standard 2.0
func LoadX509KeyPair(certFile string, keyFile string) ValueTuple<Certificate, error>

Parameters:

  • certFile:
  • keyFile:

NewListener

 

class method NewListener(inner: Listener; config: Reference<Config>): Listener

 

static Listener NewListener(Listener inner, Reference<Config> config)

 

static func NewListener(_ inner: Listener, _ config: Reference<Config>) -> Listener

 

func NewListener(inner Listener, config Reference<Config>) Listener

Parameters:

  • inner:
  • config:

NewLRUClientSessionCache

 

class method NewLRUClientSessionCache(capacity: int): ClientSessionCache

 

static ClientSessionCache NewLRUClientSessionCache(int capacity)

 

static func NewLRUClientSessionCache(_ capacity: int) -> ClientSessionCache

 

func NewLRUClientSessionCache(capacity int) ClientSessionCache

Parameters:

  • capacity:

NoClientCert

 

const NoClientCert: ClientAuthType = 0;

 

const ClientAuthType NoClientCert = 0

 

static let NoClientCert: ClientAuthType = 0

 

const NoClientCert ClientAuthType =  = 0

PKCS1WithSHA1

 

const PKCS1WithSHA1: SignatureScheme = 513;

 

const SignatureScheme PKCS1WithSHA1 = 513

 

static let PKCS1WithSHA1: SignatureScheme = 513

 

const PKCS1WithSHA1 SignatureScheme =  = 513

PKCS1WithSHA256

 

const PKCS1WithSHA256: SignatureScheme = 1025;

 

const SignatureScheme PKCS1WithSHA256 = 1025

 

static let PKCS1WithSHA256: SignatureScheme = 1025

 

const PKCS1WithSHA256 SignatureScheme =  = 1025

PKCS1WithSHA384

 

const PKCS1WithSHA384: SignatureScheme = 1281;

 

const SignatureScheme PKCS1WithSHA384 = 1281

 

static let PKCS1WithSHA384: SignatureScheme = 1281

 

const PKCS1WithSHA384 SignatureScheme =  = 1281

PKCS1WithSHA512

 

const PKCS1WithSHA512: SignatureScheme = 1537;

 

const SignatureScheme PKCS1WithSHA512 = 1537

 

static let PKCS1WithSHA512: SignatureScheme = 1537

 

const PKCS1WithSHA512 SignatureScheme =  = 1537

PSSWithSHA256

 

const PSSWithSHA256: SignatureScheme = 2052;

 

const SignatureScheme PSSWithSHA256 = 2052

 

static let PSSWithSHA256: SignatureScheme = 2052

 

const PSSWithSHA256 SignatureScheme =  = 2052

PSSWithSHA384

 

const PSSWithSHA384: SignatureScheme = 2053;

 

const SignatureScheme PSSWithSHA384 = 2053

 

static let PSSWithSHA384: SignatureScheme = 2053

 

const PSSWithSHA384 SignatureScheme =  = 2053

PSSWithSHA512

 

const PSSWithSHA512: SignatureScheme = 2054;

 

const SignatureScheme PSSWithSHA512 = 2054

 

static let PSSWithSHA512: SignatureScheme = 2054

 

const PSSWithSHA512 SignatureScheme =  = 2054

RenegotiateFreelyAsClient

 

const RenegotiateFreelyAsClient: RenegotiationSupport = 2;

 

const RenegotiationSupport RenegotiateFreelyAsClient = 2

 

static let RenegotiateFreelyAsClient: RenegotiationSupport = 2

 

const RenegotiateFreelyAsClient RenegotiationSupport =  = 2

RenegotiateNever

 

const RenegotiateNever: RenegotiationSupport = 0;

 

const RenegotiationSupport RenegotiateNever = 0

 

static let RenegotiateNever: RenegotiationSupport = 0

 

const RenegotiateNever RenegotiationSupport =  = 0

RenegotiateOnceAsClient

 

const RenegotiateOnceAsClient: RenegotiationSupport = 1;

 

const RenegotiationSupport RenegotiateOnceAsClient = 1

 

static let RenegotiateOnceAsClient: RenegotiationSupport = 1

 

const RenegotiateOnceAsClient RenegotiationSupport =  = 1

RequestClientCert

 

const RequestClientCert: ClientAuthType = 1;

 

const ClientAuthType RequestClientCert = 1

 

static let RequestClientCert: ClientAuthType = 1

 

const RequestClientCert ClientAuthType =  = 1

RequireAndVerifyClientCert

 

const RequireAndVerifyClientCert: ClientAuthType = 4;

 

const ClientAuthType RequireAndVerifyClientCert = 4

 

static let RequireAndVerifyClientCert: ClientAuthType = 4

 

const RequireAndVerifyClientCert ClientAuthType =  = 4

RequireAnyClientCert

 

const RequireAnyClientCert: ClientAuthType = 2;

 

const ClientAuthType RequireAnyClientCert = 2

 

static let RequireAnyClientCert: ClientAuthType = 2

 

const RequireAnyClientCert ClientAuthType =  = 2

Server

 

class method Server(conn: Conn; config: Reference<Config>): Reference<Conn>

 

static Reference<Conn> Server(Conn conn, Reference<Config> config)

 

static func Server(_ conn: Conn, _ config: Reference<Config>) -> Reference<Conn>

 

func Server(conn Conn, config Reference<Config>) Reference<Conn>

Parameters:

  • conn:
  • config:

TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: UInt16 = 49161;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: uint16 = 49161;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = 49161
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = 49161

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: UInt16 = 49161
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: uint16 = 49161

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA UInt16 =  = 49161
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA uint16 =  = 49161

TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: UInt16 = 49187;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: uint16 = 49187;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = 49187
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = 49187

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: UInt16 = 49187
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: uint16 = 49187

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 UInt16 =  = 49187
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 uint16 =  = 49187

TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: UInt16 = 49195;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: uint16 = 49195;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 49195
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 49195

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: UInt16 = 49195
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: uint16 = 49195

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 UInt16 =  = 49195
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 uint16 =  = 49195

TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: UInt16 = 49162;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: uint16 = 49162;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = 49162
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = 49162

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: UInt16 = 49162
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: uint16 = 49162

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA UInt16 =  = 49162
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA uint16 =  = 49162

TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: UInt16 = 49196;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: uint16 = 49196;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 49196
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 49196

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: UInt16 = 49196
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: uint16 = 49196

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 UInt16 =  = 49196
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 uint16 =  = 49196

TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: UInt16 = 52393;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: uint16 = 52393;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 = 52393
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 = 52393

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: UInt16 = 52393
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: uint16 = 52393

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 UInt16 =  = 52393
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 uint16 =  = 52393

TLS_ECDHE_ECDSA_WITH_RC4_128_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: UInt16 = 49159;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: uint16 = 49159;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = 49159
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = 49159

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: UInt16 = 49159
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: uint16 = 49159

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_RC4_128_SHA UInt16 =  = 49159
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_RC4_128_SHA uint16 =  = 49159

TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: UInt16 = 49170;
// Island, macOS
const TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: uint16 = 49170;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = 49170
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = 49170

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: UInt16 = 49170
// Island, macOS
static let TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: uint16 = 49170

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA UInt16 =  = 49170
// Island, macOS
const TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA uint16 =  = 49170

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: UInt16 = 49171;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: uint16 = 49171;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = 49171
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = 49171

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: UInt16 = 49171
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: uint16 = 49171

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA UInt16 =  = 49171
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA uint16 =  = 49171

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: UInt16 = 49191;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: uint16 = 49191;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = 49191
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = 49191

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: UInt16 = 49191
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: uint16 = 49191

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 UInt16 =  = 49191
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 uint16 =  = 49191

TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: UInt16 = 49199;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: uint16 = 49199;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 49199
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 49199

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: UInt16 = 49199
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: uint16 = 49199

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 UInt16 =  = 49199
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 uint16 =  = 49199

TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: UInt16 = 49172;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: uint16 = 49172;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 49172
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 49172

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: UInt16 = 49172
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: uint16 = 49172

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA UInt16 =  = 49172
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA uint16 =  = 49172

TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: UInt16 = 49200;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: uint16 = 49200;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 49200
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 49200

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: UInt16 = 49200
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: uint16 = 49200

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 UInt16 =  = 49200
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 uint16 =  = 49200

TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: UInt16 = 52392;
// Island, macOS
const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: uint16 = 52392;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 = 52392
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 = 52392

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: UInt16 = 52392
// Island, macOS
static let TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: uint16 = 52392

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 UInt16 =  = 52392
// Island, macOS
const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 uint16 =  = 52392

TLS_ECDHE_RSA_WITH_RC4_128_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_RC4_128_SHA: UInt16 = 49169;
// Island, macOS
const TLS_ECDHE_RSA_WITH_RC4_128_SHA: uint16 = 49169;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_RC4_128_SHA = 49169
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_RC4_128_SHA = 49169

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_RC4_128_SHA: UInt16 = 49169
// Island, macOS
static let TLS_ECDHE_RSA_WITH_RC4_128_SHA: uint16 = 49169

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_RC4_128_SHA UInt16 =  = 49169
// Island, macOS
const TLS_ECDHE_RSA_WITH_RC4_128_SHA uint16 =  = 49169

TLS_FALLBACK_SCSV

 

// .NET, .NET Standard 2.0
const TLS_FALLBACK_SCSV: UInt16 = 22016;
// Island, macOS
const TLS_FALLBACK_SCSV: uint16 = 22016;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_FALLBACK_SCSV = 22016
// Island, macOS
const uint16 TLS_FALLBACK_SCSV = 22016

 

// .NET, .NET Standard 2.0
static let TLS_FALLBACK_SCSV: UInt16 = 22016
// Island, macOS
static let TLS_FALLBACK_SCSV: uint16 = 22016

 

// .NET, .NET Standard 2.0
const TLS_FALLBACK_SCSV UInt16 =  = 22016
// Island, macOS
const TLS_FALLBACK_SCSV uint16 =  = 22016

TLS_RSA_WITH_3DES_EDE_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_3DES_EDE_CBC_SHA: UInt16 = 10;
// Island, macOS
const TLS_RSA_WITH_3DES_EDE_CBC_SHA: uint16 = 10;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_3DES_EDE_CBC_SHA = 10
// Island, macOS
const uint16 TLS_RSA_WITH_3DES_EDE_CBC_SHA = 10

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_3DES_EDE_CBC_SHA: UInt16 = 10
// Island, macOS
static let TLS_RSA_WITH_3DES_EDE_CBC_SHA: uint16 = 10

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_3DES_EDE_CBC_SHA UInt16 =  = 10
// Island, macOS
const TLS_RSA_WITH_3DES_EDE_CBC_SHA uint16 =  = 10

TLS_RSA_WITH_AES_128_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_CBC_SHA: UInt16 = 47;
// Island, macOS
const TLS_RSA_WITH_AES_128_CBC_SHA: uint16 = 47;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_128_CBC_SHA = 47
// Island, macOS
const uint16 TLS_RSA_WITH_AES_128_CBC_SHA = 47

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_128_CBC_SHA: UInt16 = 47
// Island, macOS
static let TLS_RSA_WITH_AES_128_CBC_SHA: uint16 = 47

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_CBC_SHA UInt16 =  = 47
// Island, macOS
const TLS_RSA_WITH_AES_128_CBC_SHA uint16 =  = 47

TLS_RSA_WITH_AES_128_CBC_SHA256

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_CBC_SHA256: UInt16 = 60;
// Island, macOS
const TLS_RSA_WITH_AES_128_CBC_SHA256: uint16 = 60;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_128_CBC_SHA256 = 60
// Island, macOS
const uint16 TLS_RSA_WITH_AES_128_CBC_SHA256 = 60

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_128_CBC_SHA256: UInt16 = 60
// Island, macOS
static let TLS_RSA_WITH_AES_128_CBC_SHA256: uint16 = 60

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_CBC_SHA256 UInt16 =  = 60
// Island, macOS
const TLS_RSA_WITH_AES_128_CBC_SHA256 uint16 =  = 60

TLS_RSA_WITH_AES_128_GCM_SHA256

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_GCM_SHA256: UInt16 = 156;
// Island, macOS
const TLS_RSA_WITH_AES_128_GCM_SHA256: uint16 = 156;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_128_GCM_SHA256 = 156
// Island, macOS
const uint16 TLS_RSA_WITH_AES_128_GCM_SHA256 = 156

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_128_GCM_SHA256: UInt16 = 156
// Island, macOS
static let TLS_RSA_WITH_AES_128_GCM_SHA256: uint16 = 156

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_GCM_SHA256 UInt16 =  = 156
// Island, macOS
const TLS_RSA_WITH_AES_128_GCM_SHA256 uint16 =  = 156

TLS_RSA_WITH_AES_256_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_256_CBC_SHA: UInt16 = 53;
// Island, macOS
const TLS_RSA_WITH_AES_256_CBC_SHA: uint16 = 53;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_256_CBC_SHA = 53
// Island, macOS
const uint16 TLS_RSA_WITH_AES_256_CBC_SHA = 53

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_256_CBC_SHA: UInt16 = 53
// Island, macOS
static let TLS_RSA_WITH_AES_256_CBC_SHA: uint16 = 53

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_256_CBC_SHA UInt16 =  = 53
// Island, macOS
const TLS_RSA_WITH_AES_256_CBC_SHA uint16 =  = 53

TLS_RSA_WITH_AES_256_GCM_SHA384

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_256_GCM_SHA384: UInt16 = 157;
// Island, macOS
const TLS_RSA_WITH_AES_256_GCM_SHA384: uint16 = 157;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_256_GCM_SHA384 = 157
// Island, macOS
const uint16 TLS_RSA_WITH_AES_256_GCM_SHA384 = 157

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_256_GCM_SHA384: UInt16 = 157
// Island, macOS
static let TLS_RSA_WITH_AES_256_GCM_SHA384: uint16 = 157

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_256_GCM_SHA384 UInt16 =  = 157
// Island, macOS
const TLS_RSA_WITH_AES_256_GCM_SHA384 uint16 =  = 157

TLS_RSA_WITH_RC4_128_SHA

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_RC4_128_SHA: UInt16 = 5;
// Island, macOS
const TLS_RSA_WITH_RC4_128_SHA: uint16 = 5;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_RC4_128_SHA = 5
// Island, macOS
const uint16 TLS_RSA_WITH_RC4_128_SHA = 5

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_RC4_128_SHA: UInt16 = 5
// Island, macOS
static let TLS_RSA_WITH_RC4_128_SHA: uint16 = 5

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_RC4_128_SHA UInt16 =  = 5
// Island, macOS
const TLS_RSA_WITH_RC4_128_SHA uint16 =  = 5

VerifyClientCertIfGiven

 

const VerifyClientCertIfGiven: ClientAuthType = 3;

 

const ClientAuthType VerifyClientCertIfGiven = 3

 

static let VerifyClientCertIfGiven: ClientAuthType = 3

 

const VerifyClientCertIfGiven ClientAuthType =  = 3

VersionSSL30

 

const VersionSSL30: Int64 = 768;

 

const Int64 VersionSSL30 = 768

 

static let VersionSSL30: Int64 = 768

 

const VersionSSL30 Int64 =  = 768

VersionTLS10

 

const VersionTLS10: Int64 = 769;

 

const Int64 VersionTLS10 = 769

 

static let VersionTLS10: Int64 = 769

 

const VersionTLS10 Int64 =  = 769

VersionTLS11

 

const VersionTLS11: Int64 = 770;

 

const Int64 VersionTLS11 = 770

 

static let VersionTLS11: Int64 = 770

 

const VersionTLS11 Int64 =  = 770

VersionTLS12

 

const VersionTLS12: Int64 = 771;

 

const Int64 VersionTLS12 = 771

 

static let VersionTLS12: Int64 = 771

 

const VersionTLS12 Int64 =  = 771

X25519

 

const X25519: CurveID = 29;

 

const CurveID X25519 = 29

 

static let X25519: CurveID = 29

 

const X25519 CurveID =  = 29

X509KeyPair

 

// .NET, Island, macOS
class method X509KeyPair(certPEMBlock: Slice<Byte>; keyPEMBlock: Slice<Byte>): tuple of (Certificate, error)
// .NET Standard 2.0
class method X509KeyPair(certPEMBlock: Slice<Byte>; keyPEMBlock: Slice<Byte>): ValueTuple<Certificate, error>

 

// .NET, Island, macOS
static (Certificate, error) X509KeyPair(Slice<Byte> certPEMBlock, Slice<Byte> keyPEMBlock)
// .NET Standard 2.0
static ValueTuple<Certificate, error> X509KeyPair(Slice<Byte> certPEMBlock, Slice<Byte> keyPEMBlock)

 

// .NET, Island, macOS
static func X509KeyPair(_ certPEMBlock: Slice<Byte>, _ keyPEMBlock: Slice<Byte>) -> (Certificate, error)
// .NET Standard 2.0
static func X509KeyPair(_ certPEMBlock: Slice<Byte>, _ keyPEMBlock: Slice<Byte>) -> ValueTuple<Certificate, error>

 

// .NET, Island, macOS
func X509KeyPair(certPEMBlock Slice<Byte>, keyPEMBlock Slice<Byte>) (Certificate, error)
// .NET Standard 2.0
func X509KeyPair(certPEMBlock Slice<Byte>, keyPEMBlock Slice<Byte>) ValueTuple<Certificate, error>

Parameters:

  • certPEMBlock:
  • keyPEMBlock:

 

CurveP256

 

const CurveP256: CurveID = 23;

 

const CurveID CurveP256 = 23

 

static let CurveP256: CurveID = 23

 

const CurveP256 CurveID =  = 23

CurveP384

 

const CurveP384: CurveID = 24;

 

const CurveID CurveP384 = 24

 

static let CurveP384: CurveID = 24

 

const CurveP384 CurveID =  = 24

CurveP521

 

const CurveP521: CurveID = 25;

 

const CurveID CurveP521 = 25

 

static let CurveP521: CurveID = 25

 

const CurveP521 CurveID =  = 25

ECDSAWithP256AndSHA256

 

const ECDSAWithP256AndSHA256: SignatureScheme = 1027;

 

const SignatureScheme ECDSAWithP256AndSHA256 = 1027

 

static let ECDSAWithP256AndSHA256: SignatureScheme = 1027

 

const ECDSAWithP256AndSHA256 SignatureScheme =  = 1027

ECDSAWithP384AndSHA384

 

const ECDSAWithP384AndSHA384: SignatureScheme = 1283;

 

const SignatureScheme ECDSAWithP384AndSHA384 = 1283

 

static let ECDSAWithP384AndSHA384: SignatureScheme = 1283

 

const ECDSAWithP384AndSHA384 SignatureScheme =  = 1283

ECDSAWithP521AndSHA512

 

const ECDSAWithP521AndSHA512: SignatureScheme = 1539;

 

const SignatureScheme ECDSAWithP521AndSHA512 = 1539

 

static let ECDSAWithP521AndSHA512: SignatureScheme = 1539

 

const ECDSAWithP521AndSHA512 SignatureScheme =  = 1539

ECDSAWithSHA1

 

const ECDSAWithSHA1: SignatureScheme = 515;

 

const SignatureScheme ECDSAWithSHA1 = 515

 

static let ECDSAWithSHA1: SignatureScheme = 515

 

const ECDSAWithSHA1 SignatureScheme =  = 515

NoClientCert

 

const NoClientCert: ClientAuthType = 0;

 

const ClientAuthType NoClientCert = 0

 

static let NoClientCert: ClientAuthType = 0

 

const NoClientCert ClientAuthType =  = 0

PKCS1WithSHA1

 

const PKCS1WithSHA1: SignatureScheme = 513;

 

const SignatureScheme PKCS1WithSHA1 = 513

 

static let PKCS1WithSHA1: SignatureScheme = 513

 

const PKCS1WithSHA1 SignatureScheme =  = 513

PKCS1WithSHA256

 

const PKCS1WithSHA256: SignatureScheme = 1025;

 

const SignatureScheme PKCS1WithSHA256 = 1025

 

static let PKCS1WithSHA256: SignatureScheme = 1025

 

const PKCS1WithSHA256 SignatureScheme =  = 1025

PKCS1WithSHA384

 

const PKCS1WithSHA384: SignatureScheme = 1281;

 

const SignatureScheme PKCS1WithSHA384 = 1281

 

static let PKCS1WithSHA384: SignatureScheme = 1281

 

const PKCS1WithSHA384 SignatureScheme =  = 1281

PKCS1WithSHA512

 

const PKCS1WithSHA512: SignatureScheme = 1537;

 

const SignatureScheme PKCS1WithSHA512 = 1537

 

static let PKCS1WithSHA512: SignatureScheme = 1537

 

const PKCS1WithSHA512 SignatureScheme =  = 1537

PSSWithSHA256

 

const PSSWithSHA256: SignatureScheme = 2052;

 

const SignatureScheme PSSWithSHA256 = 2052

 

static let PSSWithSHA256: SignatureScheme = 2052

 

const PSSWithSHA256 SignatureScheme =  = 2052

PSSWithSHA384

 

const PSSWithSHA384: SignatureScheme = 2053;

 

const SignatureScheme PSSWithSHA384 = 2053

 

static let PSSWithSHA384: SignatureScheme = 2053

 

const PSSWithSHA384 SignatureScheme =  = 2053

PSSWithSHA512

 

const PSSWithSHA512: SignatureScheme = 2054;

 

const SignatureScheme PSSWithSHA512 = 2054

 

static let PSSWithSHA512: SignatureScheme = 2054

 

const PSSWithSHA512 SignatureScheme =  = 2054

RenegotiateFreelyAsClient

 

const RenegotiateFreelyAsClient: RenegotiationSupport = 2;

 

const RenegotiationSupport RenegotiateFreelyAsClient = 2

 

static let RenegotiateFreelyAsClient: RenegotiationSupport = 2

 

const RenegotiateFreelyAsClient RenegotiationSupport =  = 2

RenegotiateNever

 

const RenegotiateNever: RenegotiationSupport = 0;

 

const RenegotiationSupport RenegotiateNever = 0

 

static let RenegotiateNever: RenegotiationSupport = 0

 

const RenegotiateNever RenegotiationSupport =  = 0

RenegotiateOnceAsClient

 

const RenegotiateOnceAsClient: RenegotiationSupport = 1;

 

const RenegotiationSupport RenegotiateOnceAsClient = 1

 

static let RenegotiateOnceAsClient: RenegotiationSupport = 1

 

const RenegotiateOnceAsClient RenegotiationSupport =  = 1

RequestClientCert

 

const RequestClientCert: ClientAuthType = 1;

 

const ClientAuthType RequestClientCert = 1

 

static let RequestClientCert: ClientAuthType = 1

 

const RequestClientCert ClientAuthType =  = 1

RequireAndVerifyClientCert

 

const RequireAndVerifyClientCert: ClientAuthType = 4;

 

const ClientAuthType RequireAndVerifyClientCert = 4

 

static let RequireAndVerifyClientCert: ClientAuthType = 4

 

const RequireAndVerifyClientCert ClientAuthType =  = 4

RequireAnyClientCert

 

const RequireAnyClientCert: ClientAuthType = 2;

 

const ClientAuthType RequireAnyClientCert = 2

 

static let RequireAnyClientCert: ClientAuthType = 2

 

const RequireAnyClientCert ClientAuthType =  = 2

TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: UInt16 = 49161;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: uint16 = 49161;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = 49161
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = 49161

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: UInt16 = 49161
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: uint16 = 49161

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA UInt16 =  = 49161
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA uint16 =  = 49161

TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: UInt16 = 49187;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: uint16 = 49187;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = 49187
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = 49187

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: UInt16 = 49187
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: uint16 = 49187

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 UInt16 =  = 49187
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 uint16 =  = 49187

TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: UInt16 = 49195;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: uint16 = 49195;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 49195
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 49195

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: UInt16 = 49195
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: uint16 = 49195

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 UInt16 =  = 49195
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 uint16 =  = 49195

TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: UInt16 = 49162;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: uint16 = 49162;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = 49162
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = 49162

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: UInt16 = 49162
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: uint16 = 49162

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA UInt16 =  = 49162
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA uint16 =  = 49162

TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: UInt16 = 49196;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: uint16 = 49196;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 49196
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 49196

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: UInt16 = 49196
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: uint16 = 49196

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 UInt16 =  = 49196
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 uint16 =  = 49196

TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: UInt16 = 52393;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: uint16 = 52393;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 = 52393
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 = 52393

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: UInt16 = 52393
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: uint16 = 52393

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 UInt16 =  = 52393
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 uint16 =  = 52393

TLS_ECDHE_ECDSA_WITH_RC4_128_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: UInt16 = 49159;
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: uint16 = 49159;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = 49159
// Island, macOS
const uint16 TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = 49159

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: UInt16 = 49159
// Island, macOS
static let TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: uint16 = 49159

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_ECDSA_WITH_RC4_128_SHA UInt16 =  = 49159
// Island, macOS
const TLS_ECDHE_ECDSA_WITH_RC4_128_SHA uint16 =  = 49159

TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: UInt16 = 49170;
// Island, macOS
const TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: uint16 = 49170;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = 49170
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = 49170

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: UInt16 = 49170
// Island, macOS
static let TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: uint16 = 49170

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA UInt16 =  = 49170
// Island, macOS
const TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA uint16 =  = 49170

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: UInt16 = 49171;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: uint16 = 49171;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = 49171
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = 49171

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: UInt16 = 49171
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: uint16 = 49171

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA UInt16 =  = 49171
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA uint16 =  = 49171

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: UInt16 = 49191;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: uint16 = 49191;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = 49191
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = 49191

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: UInt16 = 49191
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: uint16 = 49191

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 UInt16 =  = 49191
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 uint16 =  = 49191

TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: UInt16 = 49199;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: uint16 = 49199;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 49199
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 49199

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: UInt16 = 49199
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: uint16 = 49199

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 UInt16 =  = 49199
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 uint16 =  = 49199

TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: UInt16 = 49172;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: uint16 = 49172;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 49172
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 49172

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: UInt16 = 49172
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: uint16 = 49172

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA UInt16 =  = 49172
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA uint16 =  = 49172

TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: UInt16 = 49200;
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: uint16 = 49200;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 49200
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 49200

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: UInt16 = 49200
// Island, macOS
static let TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: uint16 = 49200

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 UInt16 =  = 49200
// Island, macOS
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 uint16 =  = 49200

TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: UInt16 = 52392;
// Island, macOS
const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: uint16 = 52392;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 = 52392
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 = 52392

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: UInt16 = 52392
// Island, macOS
static let TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: uint16 = 52392

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 UInt16 =  = 52392
// Island, macOS
const TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 uint16 =  = 52392

TLS_ECDHE_RSA_WITH_RC4_128_SHA

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_RC4_128_SHA: UInt16 = 49169;
// Island, macOS
const TLS_ECDHE_RSA_WITH_RC4_128_SHA: uint16 = 49169;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_ECDHE_RSA_WITH_RC4_128_SHA = 49169
// Island, macOS
const uint16 TLS_ECDHE_RSA_WITH_RC4_128_SHA = 49169

 

// .NET, .NET Standard 2.0
static let TLS_ECDHE_RSA_WITH_RC4_128_SHA: UInt16 = 49169
// Island, macOS
static let TLS_ECDHE_RSA_WITH_RC4_128_SHA: uint16 = 49169

 

// .NET, .NET Standard 2.0
const TLS_ECDHE_RSA_WITH_RC4_128_SHA UInt16 =  = 49169
// Island, macOS
const TLS_ECDHE_RSA_WITH_RC4_128_SHA uint16 =  = 49169

TLS_FALLBACK_SCSV

 

// .NET, .NET Standard 2.0
const TLS_FALLBACK_SCSV: UInt16 = 22016;
// Island, macOS
const TLS_FALLBACK_SCSV: uint16 = 22016;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_FALLBACK_SCSV = 22016
// Island, macOS
const uint16 TLS_FALLBACK_SCSV = 22016

 

// .NET, .NET Standard 2.0
static let TLS_FALLBACK_SCSV: UInt16 = 22016
// Island, macOS
static let TLS_FALLBACK_SCSV: uint16 = 22016

 

// .NET, .NET Standard 2.0
const TLS_FALLBACK_SCSV UInt16 =  = 22016
// Island, macOS
const TLS_FALLBACK_SCSV uint16 =  = 22016

TLS_RSA_WITH_3DES_EDE_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_3DES_EDE_CBC_SHA: UInt16 = 10;
// Island, macOS
const TLS_RSA_WITH_3DES_EDE_CBC_SHA: uint16 = 10;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_3DES_EDE_CBC_SHA = 10
// Island, macOS
const uint16 TLS_RSA_WITH_3DES_EDE_CBC_SHA = 10

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_3DES_EDE_CBC_SHA: UInt16 = 10
// Island, macOS
static let TLS_RSA_WITH_3DES_EDE_CBC_SHA: uint16 = 10

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_3DES_EDE_CBC_SHA UInt16 =  = 10
// Island, macOS
const TLS_RSA_WITH_3DES_EDE_CBC_SHA uint16 =  = 10

TLS_RSA_WITH_AES_128_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_CBC_SHA: UInt16 = 47;
// Island, macOS
const TLS_RSA_WITH_AES_128_CBC_SHA: uint16 = 47;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_128_CBC_SHA = 47
// Island, macOS
const uint16 TLS_RSA_WITH_AES_128_CBC_SHA = 47

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_128_CBC_SHA: UInt16 = 47
// Island, macOS
static let TLS_RSA_WITH_AES_128_CBC_SHA: uint16 = 47

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_CBC_SHA UInt16 =  = 47
// Island, macOS
const TLS_RSA_WITH_AES_128_CBC_SHA uint16 =  = 47

TLS_RSA_WITH_AES_128_CBC_SHA256

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_CBC_SHA256: UInt16 = 60;
// Island, macOS
const TLS_RSA_WITH_AES_128_CBC_SHA256: uint16 = 60;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_128_CBC_SHA256 = 60
// Island, macOS
const uint16 TLS_RSA_WITH_AES_128_CBC_SHA256 = 60

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_128_CBC_SHA256: UInt16 = 60
// Island, macOS
static let TLS_RSA_WITH_AES_128_CBC_SHA256: uint16 = 60

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_CBC_SHA256 UInt16 =  = 60
// Island, macOS
const TLS_RSA_WITH_AES_128_CBC_SHA256 uint16 =  = 60

TLS_RSA_WITH_AES_128_GCM_SHA256

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_GCM_SHA256: UInt16 = 156;
// Island, macOS
const TLS_RSA_WITH_AES_128_GCM_SHA256: uint16 = 156;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_128_GCM_SHA256 = 156
// Island, macOS
const uint16 TLS_RSA_WITH_AES_128_GCM_SHA256 = 156

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_128_GCM_SHA256: UInt16 = 156
// Island, macOS
static let TLS_RSA_WITH_AES_128_GCM_SHA256: uint16 = 156

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_128_GCM_SHA256 UInt16 =  = 156
// Island, macOS
const TLS_RSA_WITH_AES_128_GCM_SHA256 uint16 =  = 156

TLS_RSA_WITH_AES_256_CBC_SHA

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_256_CBC_SHA: UInt16 = 53;
// Island, macOS
const TLS_RSA_WITH_AES_256_CBC_SHA: uint16 = 53;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_256_CBC_SHA = 53
// Island, macOS
const uint16 TLS_RSA_WITH_AES_256_CBC_SHA = 53

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_256_CBC_SHA: UInt16 = 53
// Island, macOS
static let TLS_RSA_WITH_AES_256_CBC_SHA: uint16 = 53

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_256_CBC_SHA UInt16 =  = 53
// Island, macOS
const TLS_RSA_WITH_AES_256_CBC_SHA uint16 =  = 53

TLS_RSA_WITH_AES_256_GCM_SHA384

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_256_GCM_SHA384: UInt16 = 157;
// Island, macOS
const TLS_RSA_WITH_AES_256_GCM_SHA384: uint16 = 157;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_AES_256_GCM_SHA384 = 157
// Island, macOS
const uint16 TLS_RSA_WITH_AES_256_GCM_SHA384 = 157

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_AES_256_GCM_SHA384: UInt16 = 157
// Island, macOS
static let TLS_RSA_WITH_AES_256_GCM_SHA384: uint16 = 157

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_AES_256_GCM_SHA384 UInt16 =  = 157
// Island, macOS
const TLS_RSA_WITH_AES_256_GCM_SHA384 uint16 =  = 157

TLS_RSA_WITH_RC4_128_SHA

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_RC4_128_SHA: UInt16 = 5;
// Island, macOS
const TLS_RSA_WITH_RC4_128_SHA: uint16 = 5;

 

// .NET, .NET Standard 2.0
const UInt16 TLS_RSA_WITH_RC4_128_SHA = 5
// Island, macOS
const uint16 TLS_RSA_WITH_RC4_128_SHA = 5

 

// .NET, .NET Standard 2.0
static let TLS_RSA_WITH_RC4_128_SHA: UInt16 = 5
// Island, macOS
static let TLS_RSA_WITH_RC4_128_SHA: uint16 = 5

 

// .NET, .NET Standard 2.0
const TLS_RSA_WITH_RC4_128_SHA UInt16 =  = 5
// Island, macOS
const TLS_RSA_WITH_RC4_128_SHA uint16 =  = 5

VerifyClientCertIfGiven

 

const VerifyClientCertIfGiven: ClientAuthType = 3;

 

const ClientAuthType VerifyClientCertIfGiven = 3

 

static let VerifyClientCertIfGiven: ClientAuthType = 3

 

const VerifyClientCertIfGiven ClientAuthType =  = 3

VersionSSL30

 

const VersionSSL30: Int64 = 768;

 

const Int64 VersionSSL30 = 768

 

static let VersionSSL30: Int64 = 768

 

const VersionSSL30 Int64 =  = 768

VersionTLS10

 

const VersionTLS10: Int64 = 769;

 

const Int64 VersionTLS10 = 769

 

static let VersionTLS10: Int64 = 769

 

const VersionTLS10 Int64 =  = 769

VersionTLS11

 

const VersionTLS11: Int64 = 770;

 

const Int64 VersionTLS11 = 770

 

static let VersionTLS11: Int64 = 770

 

const VersionTLS11 Int64 =  = 770

VersionTLS12

 

const VersionTLS12: Int64 = 771;

 

const Int64 VersionTLS12 = 771

 

static let VersionTLS12: Int64 = 771

 

const VersionTLS12 Int64 =  = 771

X25519

 

const X25519: CurveID = 29;

 

const CurveID X25519 = 29

 

static let X25519: CurveID = 29

 

const X25519 CurveID =  = 29

 

Client

 

class method Client(conn: Conn; config: Reference<Config>): Reference<Conn>

 

static Reference<Conn> Client(Conn conn, Reference<Config> config)

 

static func Client(_ conn: Conn, _ config: Reference<Config>) -> Reference<Conn>

 

func Client(conn Conn, config Reference<Config>) Reference<Conn>

Parameters:

  • conn:
  • config:

Dial

 

// .NET, Island, macOS
class method Dial(network: string; addr: string; config: Reference<Config>): tuple of (Reference<Conn>, error)
// .NET Standard 2.0
class method Dial(network: string; addr: string; config: Reference<Config>): ValueTuple<Reference<Conn>, error>

 

// .NET, Island, macOS
static (Reference<Conn>, error) Dial(string network, string addr, Reference<Config> config)
// .NET Standard 2.0
static ValueTuple<Reference<Conn>, error> Dial(string network, string addr, Reference<Config> config)

 

// .NET, Island, macOS
static func Dial(_ network: string, _ addr: string, _ config: Reference<Config>) -> (Reference<Conn>, error)
// .NET Standard 2.0
static func Dial(_ network: string, _ addr: string, _ config: Reference<Config>) -> ValueTuple<Reference<Conn>, error>

 

// .NET, Island, macOS
func Dial(network string, addr string, config Reference<Config>) (Reference<Conn>, error)
// .NET Standard 2.0
func Dial(network string, addr string, config Reference<Config>) ValueTuple<Reference<Conn>, error>

Parameters:

  • network:
  • addr:
  • config:

DialWithDialer

 

// .NET, Island, macOS
class method DialWithDialer(dialer: Reference<Dialer>; network: string; addr: string; config: Reference<Config>): tuple of (Reference<Conn>, error)
// .NET Standard 2.0
class method DialWithDialer(dialer: Reference<Dialer>; network: string; addr: string; config: Reference<Config>): ValueTuple<Reference<Conn>, error>

 

// .NET, Island, macOS
static (Reference<Conn>, error) DialWithDialer(Reference<Dialer> dialer, string network, string addr, Reference<Config> config)
// .NET Standard 2.0
static ValueTuple<Reference<Conn>, error> DialWithDialer(Reference<Dialer> dialer, string network, string addr, Reference<Config> config)

 

// .NET, Island, macOS
static func DialWithDialer(_ dialer: Reference<Dialer>, _ network: string, _ addr: string, _ config: Reference<Config>) -> (Reference<Conn>, error)
// .NET Standard 2.0
static func DialWithDialer(_ dialer: Reference<Dialer>, _ network: string, _ addr: string, _ config: Reference<Config>) -> ValueTuple<Reference<Conn>, error>

 

// .NET, Island, macOS
func DialWithDialer(dialer Reference<Dialer>, network string, addr string, config Reference<Config>) (Reference<Conn>, error)
// .NET Standard 2.0
func DialWithDialer(dialer Reference<Dialer>, network string, addr string, config Reference<Config>) ValueTuple<Reference<Conn>, error>

Parameters:

  • dialer:
  • network:
  • addr:
  • config:

Listen

 

// .NET, Island, macOS
class method Listen(network: string; laddr: string; config: Reference<Config>): tuple of (Listener, error)
// .NET Standard 2.0
class method Listen(network: string; laddr: string; config: Reference<Config>): ValueTuple<Listener, error>

 

// .NET, Island, macOS
static (Listener, error) Listen(string network, string laddr, Reference<Config> config)
// .NET Standard 2.0
static ValueTuple<Listener, error> Listen(string network, string laddr, Reference<Config> config)

 

// .NET, Island, macOS
static func Listen(_ network: string, _ laddr: string, _ config: Reference<Config>) -> (Listener, error)
// .NET Standard 2.0
static func Listen(_ network: string, _ laddr: string, _ config: Reference<Config>) -> ValueTuple<Listener, error>

 

// .NET, Island, macOS
func Listen(network string, laddr string, config Reference<Config>) (Listener, error)
// .NET Standard 2.0
func Listen(network string, laddr string, config Reference<Config>) ValueTuple<Listener, error>

Parameters:

  • network:
  • laddr:
  • config:

LoadX509KeyPair

 

// .NET, Island, macOS
class method LoadX509KeyPair(certFile: string; keyFile: string): tuple of (Certificate, error)
// .NET Standard 2.0
class method LoadX509KeyPair(certFile: string; keyFile: string): ValueTuple<Certificate, error>

 

// .NET, Island, macOS
static (Certificate, error) LoadX509KeyPair(string certFile, string keyFile)
// .NET Standard 2.0
static ValueTuple<Certificate, error> LoadX509KeyPair(string certFile, string keyFile)

 

// .NET, Island, macOS
static func LoadX509KeyPair(_ certFile: string, _ keyFile: string) -> (Certificate, error)
// .NET Standard 2.0
static func LoadX509KeyPair(_ certFile: string, _ keyFile: string) -> ValueTuple<Certificate, error>

 

// .NET, Island, macOS
func LoadX509KeyPair(certFile string, keyFile string) (Certificate, error)
// .NET Standard 2.0
func LoadX509KeyPair(certFile string, keyFile string) ValueTuple<Certificate, error>

Parameters:

  • certFile:
  • keyFile:

NewListener

 

class method NewListener(inner: Listener; config: Reference<Config>): Listener

 

static Listener NewListener(Listener inner, Reference<Config> config)

 

static func NewListener(_ inner: Listener, _ config: Reference<Config>) -> Listener

 

func NewListener(inner Listener, config Reference<Config>) Listener

Parameters:

  • inner:
  • config:

NewLRUClientSessionCache

 

class method NewLRUClientSessionCache(capacity: int): ClientSessionCache

 

static ClientSessionCache NewLRUClientSessionCache(int capacity)

 

static func NewLRUClientSessionCache(_ capacity: int) -> ClientSessionCache

 

func NewLRUClientSessionCache(capacity int) ClientSessionCache

Parameters:

  • capacity:

Server

 

class method Server(conn: Conn; config: Reference<Config>): Reference<Conn>

 

static Reference<Conn> Server(Conn conn, Reference<Config> config)

 

static func Server(_ conn: Conn, _ config: Reference<Config>) -> Reference<Conn>

 

func Server(conn Conn, config Reference<Config>) Reference<Conn>

Parameters:

  • conn:
  • config:

X509KeyPair

 

// .NET, Island, macOS
class method X509KeyPair(certPEMBlock: Slice<Byte>; keyPEMBlock: Slice<Byte>): tuple of (Certificate, error)
// .NET Standard 2.0
class method X509KeyPair(certPEMBlock: Slice<Byte>; keyPEMBlock: Slice<Byte>): ValueTuple<Certificate, error>

 

// .NET, Island, macOS
static (Certificate, error) X509KeyPair(Slice<Byte> certPEMBlock, Slice<Byte> keyPEMBlock)
// .NET Standard 2.0
static ValueTuple<Certificate, error> X509KeyPair(Slice<Byte> certPEMBlock, Slice<Byte> keyPEMBlock)

 

// .NET, Island, macOS
static func X509KeyPair(_ certPEMBlock: Slice<Byte>, _ keyPEMBlock: Slice<Byte>) -> (Certificate, error)
// .NET Standard 2.0
static func X509KeyPair(_ certPEMBlock: Slice<Byte>, _ keyPEMBlock: Slice<Byte>) -> ValueTuple<Certificate, error>

 

// .NET, Island, macOS
func X509KeyPair(certPEMBlock Slice<Byte>, keyPEMBlock Slice<Byte>) (Certificate, error)
// .NET Standard 2.0
func X509KeyPair(certPEMBlock Slice<Byte>, keyPEMBlock Slice<Byte>) ValueTuple<Certificate, error>

Parameters:

  • certPEMBlock:
  • keyPEMBlock: