SslStream()

SslStream::SslStream(System::SharedPtr<IO::Stream>) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream)

Arguments

ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.

SslStream::SslStream(System::SharedPtr<IO::Stream>, bool) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream, bool leaveInnerStreamOpen)

Arguments

ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.
leaveInnerStreamOpenboolIf true, closing the current instance has no effect on ‘InnerStream’.

SslStream::SslStream(System::SharedPtr<IO::Stream>, bool, RemoteCertificateValidationCallback) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback)

Arguments

ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.
leaveInnerStreamOpenboolIf true, closing the current instance has no effect on ‘InnerStream’.
userCertificateValidationCallbackRemoteCertificateValidationCallbackThe delegate that is used for validating the certificate supplied by the remote party.

SslStream::SslStream(System::SharedPtr<IO::Stream>, bool, RemoteCertificateValidationCallback, LocalCertificateSelectionCallback) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)

Arguments

ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.
leaveInnerStreamOpenboolIf true, closing the current instance has no effect on ‘InnerStream’.
userCertificateValidationCallbackRemoteCertificateValidationCallbackThe delegate that is used for validating the certificate supplied by the remote party.
userCertificateSelectionCallbackLocalCertificateSelectionCallbackThe delegate that is used for selecting the certificate used for authentication.

SslStream::SslStream(System::SharedPtr<IO::Stream>, bool, RemoteCertificateValidationCallback, LocalCertificateSelectionCallback, EncryptionPolicy) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback, EncryptionPolicy encryptionPolicy)

Arguments

ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.
leaveInnerStreamOpenboolIf true, closing the current instance has no effect on ‘InnerStream’.
userCertificateValidationCallbackRemoteCertificateValidationCallbackThe delegate that is used for validating the certificate supplied by the remote party.
userCertificateSelectionCallbackLocalCertificateSelectionCallbackThe delegate that is used for selecting the certificate used for authentication.
encryptionPolicyEncryptionPolicyThe encryption policy.

See Also