Config

Overview

Location

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

 

constructor

 

constructor

 

Config()

 

init()

constructor (Config)

 

constructor(value: Config)

 

Config(Config value)

 

init(_ value: Config)

Parameters:

  • value:

BuildNameToCertificate

 

method BuildNameToCertificate

 

void BuildNameToCertificate()

 

func BuildNameToCertificate()

 

func BuildNameToCertificate()

Certificates

 

var Certificates: Slice<Certificate>;

 

Slice<Certificate> Certificates

 

var Certificates: Slice<Certificate>

 

Certificates Slice<Certificate>

CipherSuites

 

var CipherSuites: Slice<UInt16>;

 

Slice<UInt16> CipherSuites

 

var CipherSuites: Slice<UInt16>

 

CipherSuites Slice<UInt16>

ClientAuth

 

var ClientAuth: ClientAuthType;

 

ClientAuthType ClientAuth

 

var ClientAuth: ClientAuthType

 

ClientAuth ClientAuthType

ClientCAs

 

var ClientCAs: Reference<CertPool>;

 

Reference<CertPool> ClientCAs

 

var ClientCAs: Reference<CertPool>

 

ClientCAs Reference<CertPool>

ClientSessionCache

 

var ClientSessionCache: ClientSessionCache;

 

ClientSessionCache ClientSessionCache

 

var ClientSessionCache: ClientSessionCache

 

ClientSessionCache ClientSessionCache

Clone

 

method Clone: Reference<Config>

 

Reference<Config> Clone()

 

func Clone() -> Reference<Config>

 

func Clone() Reference<Config>

CurvePreferences

 

var CurvePreferences: Slice<CurveID>;

 

Slice<CurveID> CurvePreferences

 

var CurvePreferences: Slice<CurveID>

 

CurvePreferences Slice<CurveID>

DynamicRecordSizingDisabled

 

var DynamicRecordSizingDisabled: bool;

 

bool DynamicRecordSizingDisabled

 

var DynamicRecordSizingDisabled: bool

 

DynamicRecordSizingDisabled bool

GetCertificate

 

// .NET, Island
var GetCertificate: Func<Reference<ClientHelloInfo>, tuple of (Reference<Certificate>, error)>;
// .NET Standard 2.0
var GetCertificate: Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Certificate>, error>>;

 

// .NET, Island
Func<Reference<ClientHelloInfo>, (Reference<Certificate>, error)> GetCertificate
// .NET Standard 2.0
Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Certificate>, error>> GetCertificate

 

// .NET, Island
var GetCertificate: Func<Reference<ClientHelloInfo>, (Reference<Certificate>, error)>
// .NET Standard 2.0
var GetCertificate: Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Certificate>, error>>

 

// .NET, Island
GetCertificate Func<Reference<ClientHelloInfo>, (Reference<Certificate>, error)>
// .NET Standard 2.0
GetCertificate Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Certificate>, error>>

GetClientCertificate

 

// .NET, Island
var GetClientCertificate: Func<Reference<CertificateRequestInfo>, tuple of (Reference<Certificate>, error)>;
// .NET Standard 2.0
var GetClientCertificate: Func<Reference<CertificateRequestInfo>, ValueTuple<Reference<Certificate>, error>>;

 

// .NET, Island
Func<Reference<CertificateRequestInfo>, (Reference<Certificate>, error)> GetClientCertificate
// .NET Standard 2.0
Func<Reference<CertificateRequestInfo>, ValueTuple<Reference<Certificate>, error>> GetClientCertificate

 

// .NET, Island
var GetClientCertificate: Func<Reference<CertificateRequestInfo>, (Reference<Certificate>, error)>
// .NET Standard 2.0
var GetClientCertificate: Func<Reference<CertificateRequestInfo>, ValueTuple<Reference<Certificate>, error>>

 

// .NET, Island
GetClientCertificate Func<Reference<CertificateRequestInfo>, (Reference<Certificate>, error)>
// .NET Standard 2.0
GetClientCertificate Func<Reference<CertificateRequestInfo>, ValueTuple<Reference<Certificate>, error>>

GetConfigForClient

 

// .NET, Island
var GetConfigForClient: Func<Reference<ClientHelloInfo>, tuple of (Reference<Config>, error)>;
// .NET Standard 2.0
var GetConfigForClient: Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Config>, error>>;

 

// .NET, Island
Func<Reference<ClientHelloInfo>, (Reference<Config>, error)> GetConfigForClient
// .NET Standard 2.0
Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Config>, error>> GetConfigForClient

 

// .NET, Island
var GetConfigForClient: Func<Reference<ClientHelloInfo>, (Reference<Config>, error)>
// .NET Standard 2.0
var GetConfigForClient: Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Config>, error>>

 

// .NET, Island
GetConfigForClient Func<Reference<ClientHelloInfo>, (Reference<Config>, error)>
// .NET Standard 2.0
GetConfigForClient Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Config>, error>>

InsecureSkipVerify

 

var InsecureSkipVerify: bool;

 

bool InsecureSkipVerify

 

var InsecureSkipVerify: bool

 

InsecureSkipVerify bool

KeyLogWriter

 

var KeyLogWriter: Writer;

 

Writer KeyLogWriter

 

var KeyLogWriter: Writer

 

KeyLogWriter Writer

MaxVersion

 

var MaxVersion: uint16;

 

uint16 MaxVersion

 

var MaxVersion: uint16

 

MaxVersion uint16

MinVersion

 

var MinVersion: uint16;

 

uint16 MinVersion

 

var MinVersion: uint16

 

MinVersion uint16

NameToCertificate

 

var NameToCertificate: Map<string, Reference<Certificate>>;

 

Map<string, Reference<Certificate>> NameToCertificate

 

var NameToCertificate: Map<string, Reference<Certificate>>

 

NameToCertificate Map<string, Reference<Certificate>>

NextProtos

 

var NextProtos: Slice<string>;

 

Slice<string> NextProtos

 

var NextProtos: Slice<string>

 

NextProtos Slice<string>

PreferServerCipherSuites

 

var PreferServerCipherSuites: bool;

 

bool PreferServerCipherSuites

 

var PreferServerCipherSuites: bool

 

PreferServerCipherSuites bool

Rand

 

var Rand: Reader;

 

Reader Rand

 

var Rand: Reader

 

Rand Reader

Renegotiation

 

var Renegotiation: RenegotiationSupport;

 

RenegotiationSupport Renegotiation

 

var Renegotiation: RenegotiationSupport

 

Renegotiation RenegotiationSupport

RootCAs

 

var RootCAs: Reference<CertPool>;

 

Reference<CertPool> RootCAs

 

var RootCAs: Reference<CertPool>

 

RootCAs Reference<CertPool>

ServerName

 

var ServerName: string;

 

string ServerName

 

var ServerName: string

 

ServerName string

SessionTicketKey

 

var SessionTicketKey: array of byte;

 

byte[] SessionTicketKey

 

var SessionTicketKey: byte...

 

SessionTicketKey []byte

SessionTicketsDisabled

 

var SessionTicketsDisabled: bool;

 

bool SessionTicketsDisabled

 

var SessionTicketsDisabled: bool

 

SessionTicketsDisabled bool

SetSessionTicketKeys

 

method SetSessionTicketKeys(keys: Slice<array of byte>)

 

void SetSessionTicketKeys(Slice<array of byte> keys)

 

func SetSessionTicketKeys(_ keys: Slice<array of byte>)

 

func SetSessionTicketKeys(keys Slice<array of byte>)

Parameters:

  • keys:

Time

 

var Time: Func<Time>;

 

Func<Time> Time

 

var Time: Func<Time>

 

Time Func<Time>

VerifyPeerCertificate

 

var VerifyPeerCertificate: Func<Slice<Slice<Byte>>, Slice<Slice<Reference<Certificate>>>, error>;

 

Func<Slice<Slice<Byte>>, Slice<Slice<Reference<Certificate>>>, error> VerifyPeerCertificate

 

var VerifyPeerCertificate: Func<Slice<Slice<Byte>>, Slice<Slice<Reference<Certificate>>>, error>

 

VerifyPeerCertificate Func<Slice<Slice<Byte>>, Slice<Slice<Reference<Certificate>>>, error>

 

Certificates

 

var Certificates: Slice<Certificate>;

 

Slice<Certificate> Certificates

 

var Certificates: Slice<Certificate>

 

Certificates Slice<Certificate>

CipherSuites

 

var CipherSuites: Slice<UInt16>;

 

Slice<UInt16> CipherSuites

 

var CipherSuites: Slice<UInt16>

 

CipherSuites Slice<UInt16>

ClientAuth

 

var ClientAuth: ClientAuthType;

 

ClientAuthType ClientAuth

 

var ClientAuth: ClientAuthType

 

ClientAuth ClientAuthType

ClientCAs

 

var ClientCAs: Reference<CertPool>;

 

Reference<CertPool> ClientCAs

 

var ClientCAs: Reference<CertPool>

 

ClientCAs Reference<CertPool>

ClientSessionCache

 

var ClientSessionCache: ClientSessionCache;

 

ClientSessionCache ClientSessionCache

 

var ClientSessionCache: ClientSessionCache

 

ClientSessionCache ClientSessionCache

CurvePreferences

 

var CurvePreferences: Slice<CurveID>;

 

Slice<CurveID> CurvePreferences

 

var CurvePreferences: Slice<CurveID>

 

CurvePreferences Slice<CurveID>

DynamicRecordSizingDisabled

 

var DynamicRecordSizingDisabled: bool;

 

bool DynamicRecordSizingDisabled

 

var DynamicRecordSizingDisabled: bool

 

DynamicRecordSizingDisabled bool

GetCertificate

 

// .NET, Island
var GetCertificate: Func<Reference<ClientHelloInfo>, tuple of (Reference<Certificate>, error)>;
// .NET Standard 2.0
var GetCertificate: Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Certificate>, error>>;

 

// .NET, Island
Func<Reference<ClientHelloInfo>, (Reference<Certificate>, error)> GetCertificate
// .NET Standard 2.0
Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Certificate>, error>> GetCertificate

 

// .NET, Island
var GetCertificate: Func<Reference<ClientHelloInfo>, (Reference<Certificate>, error)>
// .NET Standard 2.0
var GetCertificate: Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Certificate>, error>>

 

// .NET, Island
GetCertificate Func<Reference<ClientHelloInfo>, (Reference<Certificate>, error)>
// .NET Standard 2.0
GetCertificate Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Certificate>, error>>

GetClientCertificate

 

// .NET, Island
var GetClientCertificate: Func<Reference<CertificateRequestInfo>, tuple of (Reference<Certificate>, error)>;
// .NET Standard 2.0
var GetClientCertificate: Func<Reference<CertificateRequestInfo>, ValueTuple<Reference<Certificate>, error>>;

 

// .NET, Island
Func<Reference<CertificateRequestInfo>, (Reference<Certificate>, error)> GetClientCertificate
// .NET Standard 2.0
Func<Reference<CertificateRequestInfo>, ValueTuple<Reference<Certificate>, error>> GetClientCertificate

 

// .NET, Island
var GetClientCertificate: Func<Reference<CertificateRequestInfo>, (Reference<Certificate>, error)>
// .NET Standard 2.0
var GetClientCertificate: Func<Reference<CertificateRequestInfo>, ValueTuple<Reference<Certificate>, error>>

 

// .NET, Island
GetClientCertificate Func<Reference<CertificateRequestInfo>, (Reference<Certificate>, error)>
// .NET Standard 2.0
GetClientCertificate Func<Reference<CertificateRequestInfo>, ValueTuple<Reference<Certificate>, error>>

GetConfigForClient

 

// .NET, Island
var GetConfigForClient: Func<Reference<ClientHelloInfo>, tuple of (Reference<Config>, error)>;
// .NET Standard 2.0
var GetConfigForClient: Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Config>, error>>;

 

// .NET, Island
Func<Reference<ClientHelloInfo>, (Reference<Config>, error)> GetConfigForClient
// .NET Standard 2.0
Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Config>, error>> GetConfigForClient

 

// .NET, Island
var GetConfigForClient: Func<Reference<ClientHelloInfo>, (Reference<Config>, error)>
// .NET Standard 2.0
var GetConfigForClient: Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Config>, error>>

 

// .NET, Island
GetConfigForClient Func<Reference<ClientHelloInfo>, (Reference<Config>, error)>
// .NET Standard 2.0
GetConfigForClient Func<Reference<ClientHelloInfo>, ValueTuple<Reference<Config>, error>>

InsecureSkipVerify

 

var InsecureSkipVerify: bool;

 

bool InsecureSkipVerify

 

var InsecureSkipVerify: bool

 

InsecureSkipVerify bool

KeyLogWriter

 

var KeyLogWriter: Writer;

 

Writer KeyLogWriter

 

var KeyLogWriter: Writer

 

KeyLogWriter Writer

MaxVersion

 

var MaxVersion: uint16;

 

uint16 MaxVersion

 

var MaxVersion: uint16

 

MaxVersion uint16

MinVersion

 

var MinVersion: uint16;

 

uint16 MinVersion

 

var MinVersion: uint16

 

MinVersion uint16

NameToCertificate

 

var NameToCertificate: Map<string, Reference<Certificate>>;

 

Map<string, Reference<Certificate>> NameToCertificate

 

var NameToCertificate: Map<string, Reference<Certificate>>

 

NameToCertificate Map<string, Reference<Certificate>>

NextProtos

 

var NextProtos: Slice<string>;

 

Slice<string> NextProtos

 

var NextProtos: Slice<string>

 

NextProtos Slice<string>

PreferServerCipherSuites

 

var PreferServerCipherSuites: bool;

 

bool PreferServerCipherSuites

 

var PreferServerCipherSuites: bool

 

PreferServerCipherSuites bool

Rand

 

var Rand: Reader;

 

Reader Rand

 

var Rand: Reader

 

Rand Reader

Renegotiation

 

var Renegotiation: RenegotiationSupport;

 

RenegotiationSupport Renegotiation

 

var Renegotiation: RenegotiationSupport

 

Renegotiation RenegotiationSupport

RootCAs

 

var RootCAs: Reference<CertPool>;

 

Reference<CertPool> RootCAs

 

var RootCAs: Reference<CertPool>

 

RootCAs Reference<CertPool>

ServerName

 

var ServerName: string;

 

string ServerName

 

var ServerName: string

 

ServerName string

SessionTicketKey

 

var SessionTicketKey: array of byte;

 

byte[] SessionTicketKey

 

var SessionTicketKey: byte...

 

SessionTicketKey []byte

SessionTicketsDisabled

 

var SessionTicketsDisabled: bool;

 

bool SessionTicketsDisabled

 

var SessionTicketsDisabled: bool

 

SessionTicketsDisabled bool

Time

 

var Time: Func<Time>;

 

Func<Time> Time

 

var Time: Func<Time>

 

Time Func<Time>

VerifyPeerCertificate

 

var VerifyPeerCertificate: Func<Slice<Slice<Byte>>, Slice<Slice<Reference<Certificate>>>, error>;

 

Func<Slice<Slice<Byte>>, Slice<Slice<Reference<Certificate>>>, error> VerifyPeerCertificate

 

var VerifyPeerCertificate: Func<Slice<Slice<Byte>>, Slice<Slice<Reference<Certificate>>>, error>

 

VerifyPeerCertificate Func<Slice<Slice<Byte>>, Slice<Slice<Reference<Certificate>>>, error>

 

constructor

 

constructor

 

Config()

 

init()

constructor (Config)

 

constructor(value: Config)

 

Config(Config value)

 

init(_ value: Config)

Parameters:

  • value:

BuildNameToCertificate

 

method BuildNameToCertificate

 

void BuildNameToCertificate()

 

func BuildNameToCertificate()

 

func BuildNameToCertificate()

Clone

 

method Clone: Reference<Config>

 

Reference<Config> Clone()

 

func Clone() -> Reference<Config>

 

func Clone() Reference<Config>

SetSessionTicketKeys

 

method SetSessionTicketKeys(keys: Slice<array of byte>)

 

void SetSessionTicketKeys(Slice<array of byte> keys)

 

func SetSessionTicketKeys(_ keys: Slice<array of byte>)

 

func SetSessionTicketKeys(keys Slice<array of byte>)

Parameters:

  • keys: