SslStream()
Contents
[
Hide
]SslStream::SslStream(System::SharedPtr<IO::Stream>) constructor
Constructs a new instance.
System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream)
Arguments
Parameter | Type | Description |
---|---|---|
innerStream | System::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
Parameter | Type | Description |
---|---|---|
innerStream | System::SharedPtr<IO::Stream> | The stream that is used for sending and receiving data. |
leaveInnerStreamOpen | bool | If 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
Parameter | Type | Description |
---|---|---|
innerStream | System::SharedPtr<IO::Stream> | The stream that is used for sending and receiving data. |
leaveInnerStreamOpen | bool | If true, closing the current instance has no effect on ‘InnerStream’. |
userCertificateValidationCallback | RemoteCertificateValidationCallback | The 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
Parameter | Type | Description |
---|---|---|
innerStream | System::SharedPtr<IO::Stream> | The stream that is used for sending and receiving data. |
leaveInnerStreamOpen | bool | If true, closing the current instance has no effect on ‘InnerStream’. |
userCertificateValidationCallback | RemoteCertificateValidationCallback | The delegate that is used for validating the certificate supplied by the remote party. |
userCertificateSelectionCallback | LocalCertificateSelectionCallback | The 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
Parameter | Type | Description |
---|---|---|
innerStream | System::SharedPtr<IO::Stream> | The stream that is used for sending and receiving data. |
leaveInnerStreamOpen | bool | If true, closing the current instance has no effect on ‘InnerStream’. |
userCertificateValidationCallback | RemoteCertificateValidationCallback | The delegate that is used for validating the certificate supplied by the remote party. |
userCertificateSelectionCallback | LocalCertificateSelectionCallback | The delegate that is used for selecting the certificate used for authentication. |
encryptionPolicy | EncryptionPolicy | The encryption policy. |
See Also
- Enum EncryptionPolicy
- Typedef SharedPtr
- Typedef RemoteCertificateValidationCallback
- Typedef LocalCertificateSelectionCallback
- Class Stream
- Class SslStream
- Namespace System::Net::Security
- Library Aspose.Slides