ConnectionInfo Type
Contains information about a network connection.
Remarks
Use this property to check various details of the network connection. These include the total amounts of data transferred, the availability of TLS, and its parameters.
Fields
aeadCipher Bool |
Indicates whether the encryption algorithm used is an AEAD cipher. | ||||||||||||||||||||||||||||||||||||||||||||||||
chainValidationDetails Int32 |
The details of a certificate chain validation outcome. They may often suggest what reasons that contributed to the overall validation result. Returns a bit mask of the following options:
| ||||||||||||||||||||||||||||||||||||||||||||||||
chainValidationResult ChainValidities |
The outcome of a certificate chain validation routine. Available options:
Use the ValidationLog property to access the detailed validation log. | ||||||||||||||||||||||||||||||||||||||||||||||||
ciphersuite String |
The cipher suite employed by this connection. For TLS connections, this property returns the ciphersuite that was/is employed by the connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
clientAuthenticated Bool |
Specifies whether client authentication was performed during this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
clientAuthRequested Bool |
Specifies whether client authentication was requested during this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
connectionEstablished Bool |
Indicates whether the connection has been established fully. | ||||||||||||||||||||||||||||||||||||||||||||||||
connectionID Data |
The unique identifier assigned to this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
digestAlgorithm String |
The digest algorithm used in a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
encryptionAlgorithm String |
The symmetric encryption algorithm used in a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
exportable Bool |
Indicates whether a TLS connection uses a reduced-strength exportable cipher. | ||||||||||||||||||||||||||||||||||||||||||||||||
keyExchangeAlgorithm String |
The key exchange algorithm used in a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
keyExchangeKeyBits Int32 |
The length of the key exchange key of a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
namedECCurve String |
The elliptic curve used in this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
pfsCipher Bool |
Indicates whether the chosen ciphersuite provides perfect forward secrecy (PFS). | ||||||||||||||||||||||||||||||||||||||||||||||||
preSharedIdentityHint String |
A hint professed by the server to help the client select the PSK identity to use. | ||||||||||||||||||||||||||||||||||||||||||||||||
publicKeyBits Int32 |
The length of the public key. | ||||||||||||||||||||||||||||||||||||||||||||||||
resumedSession Bool |
Indicates whether a TLS-enabled connection was spawned from another TLS connection | ||||||||||||||||||||||||||||||||||||||||||||||||
secureConnection Bool |
Indicates whether TLS or SSL is enabled for this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
serverAuthenticated Bool |
Indicates whether server authentication was performed during a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
signatureAlgorithm String |
The signature algorithm used in a TLS handshake. | ||||||||||||||||||||||||||||||||||||||||||||||||
symmetricBlockSize Int32 |
The block size of the symmetric algorithm used. | ||||||||||||||||||||||||||||||||||||||||||||||||
symmetricKeyBits Int32 |
The key length of the symmetric algorithm used. | ||||||||||||||||||||||||||||||||||||||||||||||||
totalBytesReceived Int64 |
The total number of bytes received over this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
totalBytesSent Int64 |
The total number of bytes sent over this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
validationLog String |
Contains the server certificate's chain validation log. This information may be very useful in investigating chain validation failures. | ||||||||||||||||||||||||||||||||||||||||||||||||
version String |
Indicates the version of SSL/TLS protocol negotiated during this connection. |
Constructors
public init()
Creates a new ConnectionInfo object.