Foundation.NSStreamSocketSecurityLevel Enumeration
The security protocol to use for an NSStream.

Syntax

public enum NSStreamSocketSecurityLevel

Remarks

This value controls which security protocol an NSStream uses to transfer the data on the stream, from nothing, to a specific version of SSL or TLS, or best possible.

Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL), are cryptographic protocols designed to provide communication security over streams.

Members

Member NameDescription
NegotiatedSslIndicates that the two parties should negotiate a protocol, and it should use the most secure socket protocol available between the client and the server.
NoneDo not use any security protocol.
SslV2Require the use of SSLv2.
SslV3Require the use of SSLv3.
TlsV1Require the use of TLSv1.
UnknownThe protocol is not known (can only happen if you build using an old SDK and run on a new device, and you have set the setting to "negotiated" and then you read the value back).

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0