Home
last modified time | relevance | path

Searched refs:SslStream (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/tests/UnitTests/
H A DSslStreamAllowedProtocolsTest.cs18 SslStream stream, bool waitForCompletion, in AuthenticateAsClient()
25 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClientAsync_NotSupported_Fails()
33 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClientAsync_Supported_Success()
41 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClient_Supported_Success()
48 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClientAsync_Invalid_Fails()
55 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClient_Invalid_Fails()
62 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClientAsync_AllUnsupported_Fails()
69 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClientAsync_AllSupported_Success()
76 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClientAsync_None_Success()
83 SslStream stream = new SslStream(new NotImplementedStream()); in SslStream_AuthenticateAsClientAsync_Default_Success()
[all …]
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/tdnet/td/net/
H A DSslStream.cpp507 SslStream::SslStream() = default;
508 SslStream::SslStream(SslStream &&) noexcept = default;
509 SslStream &SslStream::operator=(SslStream &&) noexcept = default;
510 SslStream::~SslStream() = default;
512 Result<SslStream> SslStream::create(CSlice host, CSlice cert_file, VerifyPeer verify_peer, in create()
518 SslStream::SslStream(unique_ptr<detail::SslStreamImpl> impl) : impl_(std::move(impl)) { in SslStream() function in td::SslStream
543 SslStream::SslStream() = default;
544 SslStream::SslStream(SslStream &&) = default;
545 SslStream &SslStream::operator=(SslStream &&) = default;
546 SslStream::~SslStream() = default;
[all …]
H A DSslStream.h19 class SslStream {
21 SslStream();
22 SslStream(SslStream &&) noexcept;
23 SslStream &operator=(SslStream &&) noexcept;
24 ~SslStream();
28 …static Result<SslStream> create(CSlice host, CSlice cert_file = CSlice(), VerifyPeer verify_peer =…
44 explicit SslStream(unique_ptr<detail::SslStreamImpl> impl);
/dports/sysutils/vector/vector-0.10.0/cargo-crates/tokio-openssl-0.3.0/src/
H A Dlib.rs36 pub struct SslStream<S> { struct
37 inner: ssl::SslStream<S>, argument
122 impl<S> SslStream<S> { impl
125 pub fn get_ref(&self) -> &ssl::SslStream<S> { in get_ref()
131 pub fn get_mut(&mut self) -> &mut ssl::SslStream<S> { in get_mut()
135 impl<S> From<ssl::SslStream<S>> for SslStream<S> { implementation
136 fn from(ssl: ssl::SslStream<S>) -> Self { in from()
143 impl<S: Read + Write> Read for SslStream<S> { implementation
149 impl<S: Read + Write> Write for SslStream<S> { implementation
215 type Item = SslStream<S>;
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/tests/FunctionalTests/
H A DSslStreamStreamToStreamTest.cs23 protected abstract Task DoHandshake(SslStream clientSslStream, SslStream serverSslStream); in DoHandshake()
33 using (var server = new SslStream(serverStream)) in SslStream_StreamToStream_Authentication_Success()
49 using (var client = new SslStream(clientStream)) in SslStream_StreamToStream_Authentication_IncorrectServerName_Fail()
50 using (var server = new SslStream(serverStream)) in SslStream_StreamToStream_Authentication_IncorrectServerName_Fail()
70 using (var serverSslStream = new SslStream(serverStream)) in SslStream_StreamToStream_Successive_ClientWrite_Sync_Success()
105 using (var serverSslStream = new SslStream(serverStream)) in SslStream_StreamToStream_Successive_ClientWrite_WithZeroBytes_Success()
144 using (var serverSslStream = new SslStream(serverStream)) in SslStream_StreamToStream_LargeWrites_Sync_Success()
191 using (var serverSslStream = new SslStream(serverStream)) in SslStream_StreamToStream_Successive_ClientWrite_Async_Success()
373 … protected override async Task DoHandshake(SslStream clientSslStream, SslStream serverSslStream) in DoHandshake()
386 … protected override async Task DoHandshake(SslStream clientSslStream, SslStream serverSslStream) in DoHandshake()
[all …]
H A DSslStreamAlertsTest.cs32 using (var client = new SslStream(clientStream, true, AllowAnyServerCertificate)) in SslStream_StreamToStream_HandshakeAlert_Ok()
33 using (var server = new SslStream(serverStream, true, FailClientCertificate)) in SslStream_StreamToStream_HandshakeAlert_Ok()
66 using (var client = new SslStream(clientStream, true, AllowAnyServerCertificate)) in SslStream_StreamToStream_ServerInitiatedCloseNotify_Ok()
67 using (var server = new SslStream(serverStream)) in SslStream_StreamToStream_ServerInitiatedCloseNotify_Ok()
98 using (var client = new SslStream(clientStream, true, AllowAnyServerCertificate)) in SslStream_StreamToStream_ClientInitiatedCloseNotify_Ok()
99 using (var server = new SslStream(serverStream)) in SslStream_StreamToStream_ClientInitiatedCloseNotify_Ok()
130 using (var client = new SslStream(clientStream, true, AllowAnyServerCertificate)) in SslStream_StreamToStream_DataAfterShutdown_Fail()
131 using (var server = new SslStream(serverStream)) in SslStream_StreamToStream_DataAfterShutdown_Fail()
H A DSslStreamAlpnTests.cs32 …private async Task DoHandshakeWithOptions(SslStream clientSslStream, SslStream serverSslStream, Ss… in DoHandshakeWithOptions()
81 …using (var client = new SslStream(clientStream, false, rCallback, lCallback, EncryptionPolicy.Requ… in SslStream_StreamToStream_DuplicateOptions_Throws()
82 using (var server = new SslStream(serverStream, false, rCallback)) in SslStream_StreamToStream_DuplicateOptions_Throws()
107 using (var client = new SslStream(clientStream, false)) in SslStream_StreamToStream_Alpn_Success()
108 using (var server = new SslStream(serverStream, false)) in SslStream_StreamToStream_Alpn_Success()
140 … using (SslStream serverStream = new SslStream(server.GetStream(), leaveInnerStreamOpen: false)) in SslStream_StreamToStream_Alpn_NonMatchingProtocols_Fail()
141 … using (SslStream clientStream = new SslStream(client.GetStream(), leaveInnerStreamOpen: false)) in SslStream_StreamToStream_Alpn_NonMatchingProtocols_Fail()
H A DSslStreamNetworkStreamTest.cs37 using (SslStream clientStream = new SslStream( in SslStream_SendReceiveOverNetworkStream_Ok()
43 using (SslStream serverStream = new SslStream( in SslStream_SendReceiveOverNetworkStream_Ok()
87 using (SslStream ssl = new SslStream(ns, true)) in SslStream_NetworkStream_Renegotiation_Succeeds()
H A DDummyTcpServer.cs96 SslStream sslStream = (SslStream)state.Stream; in OnAuthenticate()
149 SslStream sslStream = null; in OnAccept()
154 sslStream = (SslStream)state.Stream; in OnAccept()
255 private SslStream _sslStream;
271 …_sslStream = new SslStream(client.GetStream(), false, AlwaysValidServerCertificate, null, sslEncry… in ClientState()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/src/System/Net/Security/
H A DSslStream.cs38 public class SslStream : AuthenticatedStream class
49 public SslStream(Stream innerStream) in SslStream() method in System.Net.Security.SslStream
54 public SslStream(Stream innerStream, bool leaveInnerStreamOpen) in SslStream() method in System.Net.Security.SslStream
354 iar => ((SslStream)iar.AsyncState).EndAuthenticateAsClient(iar), in AuthenticateAsClientAsync()
361 iar => ((SslStream)iar.AsyncState).EndAuthenticateAsClient(iar), in AuthenticateAsClientAsync()
372 iar => ((SslStream)iar.AsyncState).EndAuthenticateAsClient(iar), in AuthenticateAsClientAsync()
381 iar => ((SslStream)iar.AsyncState).EndAuthenticateAsClient(iar), in AuthenticateAsClientAsync()
389 iar => ((SslStream)iar.AsyncState).EndAuthenticateAsServer(iar), in AuthenticateAsServerAsync()
396 iar => ((SslStream)iar.AsyncState).EndAuthenticateAsServer(iar), in AuthenticateAsServerAsync()
407 iar => ((SslStream)iar.AsyncState).EndAuthenticateAsServer(iar), in AuthenticateAsServerAsync()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Data.SqlClient/tests/Tools/TDS/TDS.EndPoint/
H A DTDSParser.cs74 if (Transport.InnerStream is SslStream) in EnableClientTransportEncryption()
91SslStream ssl = new SslStream(multiplexer, true, new RemoteCertificateValidationCallback(_Validate… in EnableClientTransportEncryption()
111 if (Transport.InnerStream is SslStream) in EnableServerTransportEncryption()
128 SslStream ssl = new SslStream(multiplexer, true); in EnableServerTransportEncryption()
148 if (!(Transport.InnerStream is SslStream)) in DisableTransportEncryption()
/dports/net/gemserv/gemserv-v0.4.5/cargo-crates/tokio-openssl-0.4.0/src/
H A Dlib.rs34 ) -> Result<SslStream<S>, HandshakeError<S>> in connect()
143 pub struct SslStream<S>(ssl::SslStream<StreamWrapper<S>>); struct
145 impl<S> SslStream<S> { implementation
163 F: FnOnce(&mut ssl::SslStream<StreamWrapper<S>>) -> R, in with_context()
172 impl<S> AsyncRead for SslStream<S> implementation
192 impl<S> AsyncWrite for SslStream<S> implementation
257 Done(SslStream<S>),
292 Poll::Ready(Ok(StartedHandshake::Done(SslStream(s)))) in poll()
309 type Output = Result<SslStream<S>, HandshakeError<S>>;
314 ) -> Poll<Result<SslStream<S>, HandshakeError<S>>> { in poll()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/tokio-openssl-0.4.0/src/
H A Dlib.rs34 ) -> Result<SslStream<S>, HandshakeError<S>> in connect()
143 pub struct SslStream<S>(ssl::SslStream<StreamWrapper<S>>); struct
145 impl<S> SslStream<S> { impl
163 F: FnOnce(&mut ssl::SslStream<StreamWrapper<S>>) -> R, in with_context()
172 impl<S> AsyncRead for SslStream<S> implementation
192 impl<S> AsyncWrite for SslStream<S> implementation
257 Done(SslStream<S>),
292 Poll::Ready(Ok(StartedHandshake::Done(SslStream(s)))) in poll()
309 type Output = Result<SslStream<S>, HandshakeError<S>>;
314 ) -> Poll<Result<SslStream<S>, HandshakeError<S>>> { in poll()
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-tls-3.0.0-beta.5/src/connect/ssl/
H A Dopenssl.rs14 pub use tokio_openssl::SslStream;
46 type Response = Connection<T, SslStream<U>>;
76 type Response = Connection<T, SslStream<U>>;
97 io: Some(SslStream::new(ssl, io).unwrap()), in call()
104 io: Option<SslStream<U>>,
113 type Output = Result<Connection<T, SslStream<U>>, io::Error>;
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.Security/
H A DSslStream.cs76 public class SslStream : AuthenticatedStream class
101 public SslStream (Stream innerStream) in SslStream() method in System.Net.Security.SslStream
106 public SslStream (Stream innerStream, bool leaveInnerStreamOpen) in SslStream() method in System.Net.Security.SslStream
113 …public SslStream (Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallba… in SslStream() method in System.Net.Security.SslStream
118 …public SslStream (Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallba… in SslStream() method in System.Net.Security.SslStream
134 …internal SslStream (Stream innerStream, bool leaveInnerStreamOpen, MonoTlsProvider provider, MonoT… in SslStream() method in System.Net.Security.SslStream
143 var sslStream = new SslStream (innerStream, leaveInnerStreamOpen, provider, settings); in CreateMonoSslStream()
406 public SslStream (Stream innerStream)
411 public SslStream (Stream innerStream, bool leaveInnerStreamOpen)
417 …public SslStream (Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallba…
[all …]
H A DSslStream.platformnotsupported.cs51 public class SslStream : AuthenticatedStream class
55 public SslStream (Stream innerStream) in SslStream() method in System.Net.Security.SslStream
60 public SslStream (Stream innerStream, bool leaveInnerStreamOpen) in SslStream() method in System.Net.Security.SslStream
66 …public SslStream (Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallba… in SslStream() method in System.Net.Security.SslStream
71 …public SslStream (Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallba… in SslStream() method in System.Net.Security.SslStream
76 …public SslStream (Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallba… in SslStream() method in System.Net.Security.SslStream
/dports/net/proby/proby-1.0.2/cargo-crates/actix-tls-1.0.0/src/
H A Dopenssl.rs7 pub use tokio_openssl::{HandshakeError, SslStream};
45 type Response = SslStream<T>;
71 type Response = SslStream<T>;
100 fut: LocalBoxFuture<'static, Result<SslStream<T>, HandshakeError<T>>>,
105 type Output = Result<SslStream<T>, HandshakeError<T>>;
/dports/devel/upp/upp/uppsrc/Core/SSL/
H A DUtil.cpp30 bool SslStream::OpenBuffer(const char *data, int length) in OpenBuffer()
35 bool SslStream::CreateBuffer() in CreateBuffer()
45 String SslStream::GetResult() const in GetResult()
59 SslStream strm; in Load()
68 SslStream in, pem, *sio = &in; in Load()
85 SslStream out, pem, *sio = &out; in Save()
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-tls-3.0.0-beta.5/src/accept/
H A Dopenssl.rs22 pub struct TlsStream<T>(tokio_openssl::SslStream<T>);
24 impl<T> From<tokio_openssl::SslStream<T>> for TlsStream<T> {
25 fn from(stream: tokio_openssl::SslStream<T>) -> Self { in from()
31 type Target = tokio_openssl::SslStream<T>;
160 stream: Some(tokio_openssl::SslStream::new(ssl, io).unwrap()), in call()
166 stream: Option<tokio_openssl::SslStream<T>>,
/dports/net/proby/proby-1.0.2/cargo-crates/actix-connect-1.0.2/src/ssl/
H A Dopenssl.rs8 pub use tokio_openssl::{HandshakeError, SslStream};
63 type Response = Connection<T, SslStream<U>>;
98 type Response = Connection<T, SslStream<U>>;
124 fut: LocalBoxFuture<'static, Result<SslStream<U>, HandshakeError<U>>>,
133 type Output = Result<Connection<T, SslStream<U>>, io::Error>;
198 type Response = SslStream<TcpStream>;
218 type Response = SslStream<TcpStream>;
242 type Output = Result<SslStream<TcpStream>, ConnectError>;
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/openssl-0.10.38/src/ssl/test/
H A Dserver.rs5 use crate::ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream};
50 io_cb: Box<dyn FnMut(SslStream<TcpStream>) + Send>,
68 F: 'static + FnMut(SslStream<TcpStream>) + Send, in io_cb()
123 pub fn connect(self) -> SslStream<TcpStream> { in connect()
156 pub fn connect(self) -> SslStream<TcpStream> { in connect()
/dports/devel/sccache/sccache-0.2.15/cargo-crates/openssl-0.10.32/src/ssl/test/
H A Dserver.rs5 use ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream};
50 io_cb: Box<dyn FnMut(SslStream<TcpStream>) + Send>,
68 F: 'static + FnMut(SslStream<TcpStream>) + Send, in io_cb()
123 pub fn connect(self) -> SslStream<TcpStream> { in connect()
156 pub fn connect(self) -> SslStream<TcpStream> { in connect()
/dports/net/gemserv/gemserv-v0.4.5/cargo-crates/openssl-0.10.32/src/ssl/test/
H A Dserver.rs5 use ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream};
50 io_cb: Box<dyn FnMut(SslStream<TcpStream>) + Send>,
68 F: 'static + FnMut(SslStream<TcpStream>) + Send, in io_cb()
123 pub fn connect(self) -> SslStream<TcpStream> { in connect()
156 pub fn connect(self) -> SslStream<TcpStream> { in connect()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/openssl-0.10.36/src/ssl/test/
H A Dserver.rs5 use crate::ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream};
50 io_cb: Box<dyn FnMut(SslStream<TcpStream>) + Send>,
68 F: 'static + FnMut(SslStream<TcpStream>) + Send, in io_cb()
123 pub fn connect(self) -> SslStream<TcpStream> { in connect()
156 pub fn connect(self) -> SslStream<TcpStream> { in connect()
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/openssl-0.10.38/src/ssl/test/
H A Dserver.rs5 use crate::ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream};
50 io_cb: Box<dyn FnMut(SslStream<TcpStream>) + Send>,
68 F: 'static + FnMut(SslStream<TcpStream>) + Send, in io_cb()
123 pub fn connect(self) -> SslStream<TcpStream> { in connect()
156 pub fn connect(self) -> SslStream<TcpStream> { in connect()

12345678910>>...19