ConnectionState

Overview

Location

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

 

constructor

 

constructor

 

ConnectionState()

 

init()

 

Sub New()

 

// .NET, .NET Standard 2.0
constructor(aVersion: UInt16; aHandshakeComplete: Boolean; aDidResume: Boolean; aCipherSuite: UInt16; aNegotiatedProtocol: string; aNegotiatedProtocolIsMutual: Boolean; aServerName: string; aPeerCertificates: Slice<Memory<Certificate>>; aVerifiedChains: Slice<Slice<Memory<Certificate>>>; aSignedCertificateTimestamps: Slice<Slice<Byte>>; aOCSPResponse: Slice<Byte>; aekm: Func<string, Slice<Byte>, Int64, tuple of (Slice<Byte>, error)>; aTLSUnique: Slice<Byte>)
// Island
constructor(aVersion: uint16; aHandshakeComplete: bool; aDidResume: bool; aCipherSuite: uint16; aNegotiatedProtocol: string; aNegotiatedProtocolIsMutual: bool; aServerName: string; aPeerCertificates: Slice<Memory<Certificate>>; aVerifiedChains: Slice<Slice<Memory<Certificate>>>; aSignedCertificateTimestamps: Slice<Slice<Byte>>; aOCSPResponse: Slice<Byte>; aekm: Func<go.builtin.string,go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.int,tuple of (go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.error)>; aTLSUnique: Slice<Byte>)

 

// .NET, .NET Standard 2.0
ConnectionState(UInt16 aVersion, Boolean aHandshakeComplete, Boolean aDidResume, UInt16 aCipherSuite, string aNegotiatedProtocol, Boolean aNegotiatedProtocolIsMutual, string aServerName, Slice<Memory<Certificate>> aPeerCertificates, Slice<Slice<Memory<Certificate>>> aVerifiedChains, Slice<Slice<Byte>> aSignedCertificateTimestamps, Slice<Byte> aOCSPResponse, Func<string, Slice<Byte>, Int64, tuple of (Slice<Byte>, error)> aekm, Slice<Byte> aTLSUnique)
// Island
ConnectionState(uint16 aVersion, bool aHandshakeComplete, bool aDidResume, uint16 aCipherSuite, string aNegotiatedProtocol, bool aNegotiatedProtocolIsMutual, string aServerName, Slice<Memory<Certificate>> aPeerCertificates, Slice<Slice<Memory<Certificate>>> aVerifiedChains, Slice<Slice<Byte>> aSignedCertificateTimestamps, Slice<Byte> aOCSPResponse, Func<go.builtin.string,go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.int,tuple of (go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.error)> aekm, Slice<Byte> aTLSUnique)

 

// .NET, .NET Standard 2.0
init(_ aVersion: UInt16, _ aHandshakeComplete: Boolean, _ aDidResume: Boolean, _ aCipherSuite: UInt16, _ aNegotiatedProtocol: string, _ aNegotiatedProtocolIsMutual: Boolean, _ aServerName: string, _ aPeerCertificates: Slice<Memory<Certificate>>, _ aVerifiedChains: Slice<Slice<Memory<Certificate>>>, _ aSignedCertificateTimestamps: Slice<Slice<Byte>>, _ aOCSPResponse: Slice<Byte>, _ aekm: Func<string, Slice<Byte>, Int64, (Slice<Byte>, error)>, _ aTLSUnique: Slice<Byte>)
// Island
init(_ aVersion: uint16, _ aHandshakeComplete: bool, _ aDidResume: bool, _ aCipherSuite: uint16, _ aNegotiatedProtocol: string, _ aNegotiatedProtocolIsMutual: bool, _ aServerName: string, _ aPeerCertificates: Slice<Memory<Certificate>>, _ aVerifiedChains: Slice<Slice<Memory<Certificate>>>, _ aSignedCertificateTimestamps: Slice<Slice<Byte>>, _ aOCSPResponse: Slice<Byte>, _ aekm: Func<go.builtin.string,go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.int,tuple of (go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.error)>, _ aTLSUnique: Slice<Byte>)

 

// .NET, .NET Standard 2.0
Sub New(aVersion As UInt16, aHandshakeComplete As Boolean, aDidResume As Boolean, aCipherSuite As UInt16, aNegotiatedProtocol As string, aNegotiatedProtocolIsMutual As Boolean, aServerName As string, aPeerCertificates As Slice<Memory<Certificate>>, aVerifiedChains As Slice<Slice<Memory<Certificate>>>, aSignedCertificateTimestamps As Slice<Slice<Byte>>, aOCSPResponse As Slice<Byte>, aekm As Func (Of string, Slice<Byte>, Int64, Tuple (Of Slice<Byte>, error)), aTLSUnique As Slice<Byte>)
// Island
Sub New(aVersion As uint16, aHandshakeComplete As bool, aDidResume As bool, aCipherSuite As uint16, aNegotiatedProtocol As string, aNegotiatedProtocolIsMutual As bool, aServerName As string, aPeerCertificates As Slice<Memory<Certificate>>, aVerifiedChains As Slice<Slice<Memory<Certificate>>>, aSignedCertificateTimestamps As Slice<Slice<Byte>>, aOCSPResponse As Slice<Byte>, aekm As Func<go.builtin.string,go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.int,tuple of (go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.error)>, aTLSUnique As Slice<Byte>)

Parameters:

  • aVersion:
  • aHandshakeComplete:
  • aDidResume:
  • aCipherSuite:
  • aNegotiatedProtocol:
  • aNegotiatedProtocolIsMutual:
  • aServerName:
  • aPeerCertificates:
  • aVerifiedChains:
  • aSignedCertificateTimestamps:
  • aOCSPResponse:
  • aekm:
  • aTLSUnique:

constructor (ConnectionState)

 

constructor(value: ConnectionState)

 

ConnectionState(ConnectionState value)

 

init(_ value: ConnectionState)

 

Sub New(value As ConnectionState)

Parameters:

  • value:

CipherSuite

 

var CipherSuite: uint16;

 

uint16 CipherSuite

 

var CipherSuite: uint16

 

CipherSuite uint16

 

FIELD CipherSuite() As uint16

DidResume

 

var DidResume: bool;

 

bool DidResume

 

var DidResume: bool

 

DidResume bool

 

FIELD DidResume() As bool

ExportKeyingMaterial

 

method ExportKeyingMaterial(label: string; context: Slice<Byte>; length: int): tuple of (Slice<Byte>, error)

 

(Slice<Byte>, error) ExportKeyingMaterial(string label, Slice<Byte> context, int length)

 

func ExportKeyingMaterial(_ label: string, _ context: Slice<Byte>, _ length: int) -> (Slice<Byte>, error)

 

func ExportKeyingMaterial(label string, context Slice<Byte>, length int) tuple of (Slice<Byte>, error)

 

Function ExportKeyingMaterial(label As string, context As Slice<Byte>, length As int) As Tuple (Of Slice<Byte>, error)

Parameters:

  • label:
  • context:
  • length:

HandshakeComplete

 

var HandshakeComplete: bool;

 

bool HandshakeComplete

 

var HandshakeComplete: bool

 

HandshakeComplete bool

 

FIELD HandshakeComplete() As bool

NegotiatedProtocol

 

var NegotiatedProtocol: string;

 

string NegotiatedProtocol

 

var NegotiatedProtocol: string

 

NegotiatedProtocol string

 

FIELD NegotiatedProtocol() As string

NegotiatedProtocolIsMutual

 

var NegotiatedProtocolIsMutual: bool;

 

bool NegotiatedProtocolIsMutual

 

var NegotiatedProtocolIsMutual: bool

 

NegotiatedProtocolIsMutual bool

 

FIELD NegotiatedProtocolIsMutual() As bool

OCSPResponse

 

var OCSPResponse: Slice<Byte>;

 

Slice<Byte> OCSPResponse

 

var OCSPResponse: Slice<Byte>

 

OCSPResponse Slice<Byte>

 

FIELD OCSPResponse() As Slice<Byte>

PeerCertificates

 

// .NET, .NET Standard 2.0
var PeerCertificates: Slice<Memory<Certificate>>;
// Island
var PeerCertificates: Slice<Memory<Certificate>>;

 

// .NET, .NET Standard 2.0
Slice<Memory<Certificate>> PeerCertificates
// Island
Slice<Memory<Certificate>> PeerCertificates

 

// .NET, .NET Standard 2.0
var PeerCertificates: Slice<Memory<Certificate>>
// Island
var PeerCertificates: Slice<Memory<Certificate>>

 

// .NET, .NET Standard 2.0
PeerCertificates Slice<Memory<Certificate>>
// Island
PeerCertificates Slice<Memory<Certificate>>

 

// .NET, .NET Standard 2.0
FIELD PeerCertificates() As Slice<Memory<Certificate>>
// Island
FIELD PeerCertificates() As Slice<Memory<Certificate>>

ServerName

 

var ServerName: string;

 

string ServerName

 

var ServerName: string

 

ServerName string

 

FIELD ServerName() As string

SignedCertificateTimestamps

 

var SignedCertificateTimestamps: Slice<Slice<Byte>>;

 

Slice<Slice<Byte>> SignedCertificateTimestamps

 

var SignedCertificateTimestamps: Slice<Slice<Byte>>

 

SignedCertificateTimestamps Slice<Slice<Byte>>

 

FIELD SignedCertificateTimestamps() As Slice<Slice<Byte>>

TLSUnique

 

var TLSUnique: Slice<Byte>;

 

Slice<Byte> TLSUnique

 

var TLSUnique: Slice<Byte>

 

TLSUnique Slice<Byte>

 

FIELD TLSUnique() As Slice<Byte>

VerifiedChains

 

// .NET, .NET Standard 2.0
var VerifiedChains: Slice<Slice<Memory<Certificate>>>;
// Island
var VerifiedChains: Slice<Slice<Memory<Certificate>>>;

 

// .NET, .NET Standard 2.0
Slice<Slice<Memory<Certificate>>> VerifiedChains
// Island
Slice<Slice<Memory<Certificate>>> VerifiedChains

 

// .NET, .NET Standard 2.0
var VerifiedChains: Slice<Slice<Memory<Certificate>>>
// Island
var VerifiedChains: Slice<Slice<Memory<Certificate>>>

 

// .NET, .NET Standard 2.0
VerifiedChains Slice<Slice<Memory<Certificate>>>
// Island
VerifiedChains Slice<Slice<Memory<Certificate>>>

 

// .NET, .NET Standard 2.0
FIELD VerifiedChains() As Slice<Slice<Memory<Certificate>>>
// Island
FIELD VerifiedChains() As Slice<Slice<Memory<Certificate>>>

Version

 

var Version: uint16;

 

uint16 Version

 

var Version: uint16

 

Version uint16

 

FIELD Version() As uint16

 

CipherSuite

 

var CipherSuite: uint16;

 

uint16 CipherSuite

 

var CipherSuite: uint16

 

CipherSuite uint16

 

FIELD CipherSuite() As uint16

DidResume

 

var DidResume: bool;

 

bool DidResume

 

var DidResume: bool

 

DidResume bool

 

FIELD DidResume() As bool

HandshakeComplete

 

var HandshakeComplete: bool;

 

bool HandshakeComplete

 

var HandshakeComplete: bool

 

HandshakeComplete bool

 

FIELD HandshakeComplete() As bool

NegotiatedProtocol

 

var NegotiatedProtocol: string;

 

string NegotiatedProtocol

 

var NegotiatedProtocol: string

 

NegotiatedProtocol string

 

FIELD NegotiatedProtocol() As string

NegotiatedProtocolIsMutual

 

var NegotiatedProtocolIsMutual: bool;

 

bool NegotiatedProtocolIsMutual

 

var NegotiatedProtocolIsMutual: bool

 

NegotiatedProtocolIsMutual bool

 

FIELD NegotiatedProtocolIsMutual() As bool

OCSPResponse

 

var OCSPResponse: Slice<Byte>;

 

Slice<Byte> OCSPResponse

 

var OCSPResponse: Slice<Byte>

 

OCSPResponse Slice<Byte>

 

FIELD OCSPResponse() As Slice<Byte>

PeerCertificates

 

// .NET, .NET Standard 2.0
var PeerCertificates: Slice<Memory<Certificate>>;
// Island
var PeerCertificates: Slice<Memory<Certificate>>;

 

// .NET, .NET Standard 2.0
Slice<Memory<Certificate>> PeerCertificates
// Island
Slice<Memory<Certificate>> PeerCertificates

 

// .NET, .NET Standard 2.0
var PeerCertificates: Slice<Memory<Certificate>>
// Island
var PeerCertificates: Slice<Memory<Certificate>>

 

// .NET, .NET Standard 2.0
PeerCertificates Slice<Memory<Certificate>>
// Island
PeerCertificates Slice<Memory<Certificate>>

 

// .NET, .NET Standard 2.0
FIELD PeerCertificates() As Slice<Memory<Certificate>>
// Island
FIELD PeerCertificates() As Slice<Memory<Certificate>>

ServerName

 

var ServerName: string;

 

string ServerName

 

var ServerName: string

 

ServerName string

 

FIELD ServerName() As string

SignedCertificateTimestamps

 

var SignedCertificateTimestamps: Slice<Slice<Byte>>;

 

Slice<Slice<Byte>> SignedCertificateTimestamps

 

var SignedCertificateTimestamps: Slice<Slice<Byte>>

 

SignedCertificateTimestamps Slice<Slice<Byte>>

 

FIELD SignedCertificateTimestamps() As Slice<Slice<Byte>>

TLSUnique

 

var TLSUnique: Slice<Byte>;

 

Slice<Byte> TLSUnique

 

var TLSUnique: Slice<Byte>

 

TLSUnique Slice<Byte>

 

FIELD TLSUnique() As Slice<Byte>

VerifiedChains

 

// .NET, .NET Standard 2.0
var VerifiedChains: Slice<Slice<Memory<Certificate>>>;
// Island
var VerifiedChains: Slice<Slice<Memory<Certificate>>>;

 

// .NET, .NET Standard 2.0
Slice<Slice<Memory<Certificate>>> VerifiedChains
// Island
Slice<Slice<Memory<Certificate>>> VerifiedChains

 

// .NET, .NET Standard 2.0
var VerifiedChains: Slice<Slice<Memory<Certificate>>>
// Island
var VerifiedChains: Slice<Slice<Memory<Certificate>>>

 

// .NET, .NET Standard 2.0
VerifiedChains Slice<Slice<Memory<Certificate>>>
// Island
VerifiedChains Slice<Slice<Memory<Certificate>>>

 

// .NET, .NET Standard 2.0
FIELD VerifiedChains() As Slice<Slice<Memory<Certificate>>>
// Island
FIELD VerifiedChains() As Slice<Slice<Memory<Certificate>>>

Version

 

var Version: uint16;

 

uint16 Version

 

var Version: uint16

 

Version uint16

 

FIELD Version() As uint16

 

constructor

 

constructor

 

ConnectionState()

 

init()

 

Sub New()

 

// .NET, .NET Standard 2.0
constructor(aVersion: UInt16; aHandshakeComplete: Boolean; aDidResume: Boolean; aCipherSuite: UInt16; aNegotiatedProtocol: string; aNegotiatedProtocolIsMutual: Boolean; aServerName: string; aPeerCertificates: Slice<Memory<Certificate>>; aVerifiedChains: Slice<Slice<Memory<Certificate>>>; aSignedCertificateTimestamps: Slice<Slice<Byte>>; aOCSPResponse: Slice<Byte>; aekm: Func<string, Slice<Byte>, Int64, tuple of (Slice<Byte>, error)>; aTLSUnique: Slice<Byte>)
// Island
constructor(aVersion: uint16; aHandshakeComplete: bool; aDidResume: bool; aCipherSuite: uint16; aNegotiatedProtocol: string; aNegotiatedProtocolIsMutual: bool; aServerName: string; aPeerCertificates: Slice<Memory<Certificate>>; aVerifiedChains: Slice<Slice<Memory<Certificate>>>; aSignedCertificateTimestamps: Slice<Slice<Byte>>; aOCSPResponse: Slice<Byte>; aekm: Func<go.builtin.string,go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.int,tuple of (go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.error)>; aTLSUnique: Slice<Byte>)

 

// .NET, .NET Standard 2.0
ConnectionState(UInt16 aVersion, Boolean aHandshakeComplete, Boolean aDidResume, UInt16 aCipherSuite, string aNegotiatedProtocol, Boolean aNegotiatedProtocolIsMutual, string aServerName, Slice<Memory<Certificate>> aPeerCertificates, Slice<Slice<Memory<Certificate>>> aVerifiedChains, Slice<Slice<Byte>> aSignedCertificateTimestamps, Slice<Byte> aOCSPResponse, Func<string, Slice<Byte>, Int64, tuple of (Slice<Byte>, error)> aekm, Slice<Byte> aTLSUnique)
// Island
ConnectionState(uint16 aVersion, bool aHandshakeComplete, bool aDidResume, uint16 aCipherSuite, string aNegotiatedProtocol, bool aNegotiatedProtocolIsMutual, string aServerName, Slice<Memory<Certificate>> aPeerCertificates, Slice<Slice<Memory<Certificate>>> aVerifiedChains, Slice<Slice<Byte>> aSignedCertificateTimestamps, Slice<Byte> aOCSPResponse, Func<go.builtin.string,go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.int,tuple of (go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.error)> aekm, Slice<Byte> aTLSUnique)

 

// .NET, .NET Standard 2.0
init(_ aVersion: UInt16, _ aHandshakeComplete: Boolean, _ aDidResume: Boolean, _ aCipherSuite: UInt16, _ aNegotiatedProtocol: string, _ aNegotiatedProtocolIsMutual: Boolean, _ aServerName: string, _ aPeerCertificates: Slice<Memory<Certificate>>, _ aVerifiedChains: Slice<Slice<Memory<Certificate>>>, _ aSignedCertificateTimestamps: Slice<Slice<Byte>>, _ aOCSPResponse: Slice<Byte>, _ aekm: Func<string, Slice<Byte>, Int64, (Slice<Byte>, error)>, _ aTLSUnique: Slice<Byte>)
// Island
init(_ aVersion: uint16, _ aHandshakeComplete: bool, _ aDidResume: bool, _ aCipherSuite: uint16, _ aNegotiatedProtocol: string, _ aNegotiatedProtocolIsMutual: bool, _ aServerName: string, _ aPeerCertificates: Slice<Memory<Certificate>>, _ aVerifiedChains: Slice<Slice<Memory<Certificate>>>, _ aSignedCertificateTimestamps: Slice<Slice<Byte>>, _ aOCSPResponse: Slice<Byte>, _ aekm: Func<go.builtin.string,go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.int,tuple of (go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.error)>, _ aTLSUnique: Slice<Byte>)

 

// .NET, .NET Standard 2.0
Sub New(aVersion As UInt16, aHandshakeComplete As Boolean, aDidResume As Boolean, aCipherSuite As UInt16, aNegotiatedProtocol As string, aNegotiatedProtocolIsMutual As Boolean, aServerName As string, aPeerCertificates As Slice<Memory<Certificate>>, aVerifiedChains As Slice<Slice<Memory<Certificate>>>, aSignedCertificateTimestamps As Slice<Slice<Byte>>, aOCSPResponse As Slice<Byte>, aekm As Func (Of string, Slice<Byte>, Int64, Tuple (Of Slice<Byte>, error)), aTLSUnique As Slice<Byte>)
// Island
Sub New(aVersion As uint16, aHandshakeComplete As bool, aDidResume As bool, aCipherSuite As uint16, aNegotiatedProtocol As string, aNegotiatedProtocolIsMutual As bool, aServerName As string, aPeerCertificates As Slice<Memory<Certificate>>, aVerifiedChains As Slice<Slice<Memory<Certificate>>>, aSignedCertificateTimestamps As Slice<Slice<Byte>>, aOCSPResponse As Slice<Byte>, aekm As Func<go.builtin.string,go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.int,tuple of (go.builtin.Slice<RemObjects.Elements.System.Byte>,go.builtin.error)>, aTLSUnique As Slice<Byte>)

Parameters:

  • aVersion:
  • aHandshakeComplete:
  • aDidResume:
  • aCipherSuite:
  • aNegotiatedProtocol:
  • aNegotiatedProtocolIsMutual:
  • aServerName:
  • aPeerCertificates:
  • aVerifiedChains:
  • aSignedCertificateTimestamps:
  • aOCSPResponse:
  • aekm:
  • aTLSUnique:

constructor (ConnectionState)

 

constructor(value: ConnectionState)

 

ConnectionState(ConnectionState value)

 

init(_ value: ConnectionState)

 

Sub New(value As ConnectionState)

Parameters:

  • value: