public class SslStream extends AuthenticatedStream
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Security.SslStream
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.Security, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Security
|
static java.lang.String |
className
Qualified class name: System.Net.Security.SslStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SslStream() |
SslStream(java.lang.Object instance)
Internal constructor.
|
SslStream(Stream innerStream) |
SslStream(Stream innerStream,
boolean leaveInnerStreamOpen) |
SslStream(Stream innerStream,
boolean leaveInnerStreamOpen,
RemoteCertificateValidationCallback userCertificateValidationCallback) |
SslStream(Stream innerStream,
boolean leaveInnerStreamOpen,
RemoteCertificateValidationCallback userCertificateValidationCallback,
LocalCertificateSelectionCallback userCertificateSelectionCallback) |
SslStream(Stream innerStream,
boolean leaveInnerStreamOpen,
RemoteCertificateValidationCallback userCertificateValidationCallback,
LocalCertificateSelectionCallback userCertificateSelectionCallback,
EncryptionPolicy encryptionPolicy) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions) |
void |
AuthenticateAsClient(java.lang.String targetHost) |
void |
AuthenticateAsClient(java.lang.String targetHost,
X509CertificateCollection clientCertificates,
boolean checkCertificateRevocation) |
void |
AuthenticateAsClient(java.lang.String targetHost,
X509CertificateCollection clientCertificates,
SslProtocols enabledSslProtocols,
boolean checkCertificateRevocation) |
Task |
AuthenticateAsClientAsync(SslClientAuthenticationOptions sslClientAuthenticationOptions,
CancellationToken cancellationToken) |
Task |
AuthenticateAsClientAsync(java.lang.String targetHost) |
Task |
AuthenticateAsClientAsync(java.lang.String targetHost,
X509CertificateCollection clientCertificates,
boolean checkCertificateRevocation) |
Task |
AuthenticateAsClientAsync(java.lang.String targetHost,
X509CertificateCollection clientCertificates,
SslProtocols enabledSslProtocols,
boolean checkCertificateRevocation) |
void |
AuthenticateAsServer(SslServerAuthenticationOptions sslServerAuthenticationOptions) |
void |
AuthenticateAsServer(X509Certificate serverCertificate) |
void |
AuthenticateAsServer(X509Certificate serverCertificate,
boolean clientCertificateRequired,
boolean checkCertificateRevocation) |
void |
AuthenticateAsServer(X509Certificate serverCertificate,
boolean clientCertificateRequired,
SslProtocols enabledSslProtocols,
boolean checkCertificateRevocation) |
Task |
AuthenticateAsServerAsync(SslServerAuthenticationOptions sslServerAuthenticationOptions,
CancellationToken cancellationToken) |
Task |
AuthenticateAsServerAsync(X509Certificate serverCertificate) |
Task |
AuthenticateAsServerAsync(X509Certificate serverCertificate,
boolean clientCertificateRequired,
boolean checkCertificateRevocation) |
Task |
AuthenticateAsServerAsync(X509Certificate serverCertificate,
boolean clientCertificateRequired,
SslProtocols enabledSslProtocols,
boolean checkCertificateRevocation) |
IAsyncResult |
BeginAuthenticateAsClient(java.lang.String targetHost,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginAuthenticateAsClient(java.lang.String targetHost,
X509CertificateCollection clientCertificates,
boolean checkCertificateRevocation,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginAuthenticateAsClient(java.lang.String targetHost,
X509CertificateCollection clientCertificates,
SslProtocols enabledSslProtocols,
boolean checkCertificateRevocation,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginAuthenticateAsServer(X509Certificate serverCertificate,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginAuthenticateAsServer(X509Certificate serverCertificate,
boolean clientCertificateRequired,
boolean checkCertificateRevocation,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginAuthenticateAsServer(X509Certificate serverCertificate,
boolean clientCertificateRequired,
SslProtocols enabledSslProtocols,
boolean checkCertificateRevocation,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginRead(byte[] buffer,
int offset,
int count,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginRead(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
IAsyncResult |
BeginWrite(byte[] buffer,
int offset,
int count,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginWrite(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
static SslStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SslStream, a cast assert is made to check if types are compatible. |
ValueTask |
DisposeAsync() |
void |
EndAuthenticateAsClient(IAsyncResult asyncResult) |
void |
EndAuthenticateAsServer(IAsyncResult asyncResult) |
int |
EndRead(IAsyncResult asyncResult) |
void |
EndWrite(IAsyncResult asyncResult) |
void |
Flush() |
Task |
FlushAsync(CancellationToken cancellationToken) |
boolean |
getCheckCertRevocationStatus() |
CipherAlgorithmType |
getCipherAlgorithm() |
int |
getCipherStrength() |
HashAlgorithmType |
getHashAlgorithm() |
int |
getHashStrength() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
ExchangeAlgorithmType |
getKeyExchangeAlgorithm() |
int |
getKeyExchangeStrength() |
X509Certificate |
getLocalCertificate() |
SslApplicationProtocol |
getNegotiatedApplicationProtocol() |
TlsCipherSuite |
getNegotiatedCipherSuite() |
X509Certificate |
getRemoteCertificate() |
SslProtocols |
getSslProtocol() |
java.lang.String |
getTargetHostName() |
TransportContext |
getTransportContext() |
Task |
NegotiateClientCertificateAsync(CancellationToken cancellationToken) |
int |
Read(byte[] buffer,
int offset,
int count) |
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
int |
ReadByte() |
long |
Seek(long offset,
SeekOrigin origin) |
void |
setJCOInstance(JCObject instance) |
void |
SetLength(long value) |
Task |
ShutdownAsync() |
void |
Write(byte[] buffer) |
void |
Write(byte[] buffer,
int offset,
int count) |
void |
Write(JCORefOut dupParam0) |
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
Task |
WriteAsync(byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken) |
Task |
WriteAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
CancellationToken dupParam3) |
void |
WriteByte(byte value) |
getIsAuthenticated, getIsEncrypted, getIsMutuallyAuthenticated, getIsServer, getIsSigned, getLeaveInnerStreamOpenclose, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsyncGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SslStream()
throws java.lang.Throwable
java.lang.Throwablepublic SslStream(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SslStream(Stream innerStream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, SocketException, ArrayTypeMismatchException
public SslStream(Stream innerStream, boolean leaveInnerStreamOpen) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SocketException, IndexOutOfRangeException
public SslStream(Stream innerStream, boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SocketException, IndexOutOfRangeException
public SslStream(Stream innerStream, boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, SocketException, IndexOutOfRangeException
public SslStream(Stream innerStream, boolean leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback, EncryptionPolicy encryptionPolicy) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, SocketException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic void AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OverflowException, EventSourceException, TaskSchedulerException, ThreadStateException, OperationCanceledException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionEventSourceExceptionTaskSchedulerExceptionThreadStateExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionpublic void AuthenticateAsClient(java.lang.String targetHost)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
TaskSchedulerException,
TaskCanceledException,
AggregateException
public void AuthenticateAsClient(java.lang.String targetHost,
X509CertificateCollection clientCertificates,
boolean checkCertificateRevocation)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
TaskSchedulerException,
TaskCanceledException,
AggregateException
public void AuthenticateAsClient(java.lang.String targetHost,
X509CertificateCollection clientCertificates,
SslProtocols enabledSslProtocols,
boolean checkCertificateRevocation)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OverflowException,
EventSourceException,
TaskSchedulerException,
TaskCanceledException,
AggregateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOverflowExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic Task AuthenticateAsClientAsync(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OverflowException
public Task AuthenticateAsClientAsync(java.lang.String targetHost) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
public Task AuthenticateAsClientAsync(java.lang.String targetHost, X509CertificateCollection clientCertificates, boolean checkCertificateRevocation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public Task AuthenticateAsClientAsync(java.lang.String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, boolean checkCertificateRevocation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OverflowException
public void AuthenticateAsServer(SslServerAuthenticationOptions sslServerAuthenticationOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, CultureNotFoundException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SecurityException, AuthenticationException, TaskSchedulerException, ThreadStateException, OperationCanceledException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSecurityExceptionAuthenticationExceptionTaskSchedulerExceptionThreadStateExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionpublic void AuthenticateAsServer(X509Certificate serverCertificate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, CryptographicException, SecurityException, AuthenticationException, ObjectDisposedException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionCryptographicExceptionSecurityExceptionAuthenticationExceptionObjectDisposedExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic void AuthenticateAsServer(X509Certificate serverCertificate, boolean clientCertificateRequired, boolean checkCertificateRevocation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, CryptographicException, SecurityException, AuthenticationException, ObjectDisposedException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionCryptographicExceptionSecurityExceptionAuthenticationExceptionObjectDisposedExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic void AuthenticateAsServer(X509Certificate serverCertificate, boolean clientCertificateRequired, SslProtocols enabledSslProtocols, boolean checkCertificateRevocation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, OutOfMemoryException, SecurityException, AuthenticationException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSecurityExceptionAuthenticationExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic Task AuthenticateAsServerAsync(SslServerAuthenticationOptions sslServerAuthenticationOptions, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, CultureNotFoundException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SecurityException, AuthenticationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSecurityExceptionAuthenticationExceptionpublic Task AuthenticateAsServerAsync(X509Certificate serverCertificate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, CryptographicException, SecurityException, AuthenticationException, ObjectDisposedException
public Task AuthenticateAsServerAsync(X509Certificate serverCertificate, boolean clientCertificateRequired, boolean checkCertificateRevocation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, OutOfMemoryException, SecurityException, AuthenticationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSecurityExceptionAuthenticationExceptionpublic Task AuthenticateAsServerAsync(X509Certificate serverCertificate, boolean clientCertificateRequired, SslProtocols enabledSslProtocols, boolean checkCertificateRevocation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, OutOfMemoryException, SecurityException, AuthenticationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSecurityExceptionAuthenticationExceptionpublic IAsyncResult BeginAuthenticateAsClient(java.lang.String targetHost, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NotSupportedException
public IAsyncResult BeginAuthenticateAsClient(java.lang.String targetHost, X509CertificateCollection clientCertificates, boolean checkCertificateRevocation, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NotSupportedException
public IAsyncResult BeginAuthenticateAsClient(java.lang.String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, boolean checkCertificateRevocation, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, EventSourceException
public IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, CryptographicException, AuthenticationException, ObjectDisposedException
public IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, boolean clientCertificateRequired, boolean checkCertificateRevocation, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, CryptographicException, AuthenticationException, ObjectDisposedException
public IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, boolean clientCertificateRequired, SslProtocols enabledSslProtocols, boolean checkCertificateRevocation, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, SecurityException, AuthenticationException
public IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
BeginRead in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionNullReferenceExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionpublic IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
BeginRead in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionNullReferenceExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionpublic IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
BeginWrite in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionNullReferenceExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionpublic IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
BeginWrite in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionNullReferenceExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionpublic static SslStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SslStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSslStream instancejava.lang.Throwable - in case of error during cast operationpublic ValueTask DisposeAsync() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
DisposeAsync in class AuthenticatedStreamjava.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionpublic void EndAuthenticateAsClient(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public void EndAuthenticateAsServer(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
EndRead in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
EndWrite in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic void Flush()
throws java.lang.Throwable
public Task FlushAsync(CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, EventSourceException
FlushAsync in class Streamjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionEventSourceExceptionpublic boolean getCheckCertRevocationStatus()
throws java.lang.Throwable
java.lang.Throwablepublic CipherAlgorithmType getCipherAlgorithm() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public int getCipherStrength()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
public HashAlgorithmType getHashAlgorithm() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public int getHashStrength()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AuthenticatedStreamString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AuthenticatedStreamString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AuthenticatedStreamObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AuthenticatedStreamString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class AuthenticatedStreamJCType representing the CLR Type of the instantiated Classpublic ExchangeAlgorithmType getKeyExchangeAlgorithm() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public int getKeyExchangeStrength()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
public X509Certificate getLocalCertificate() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, OutOfMemoryException
public SslApplicationProtocol getNegotiatedApplicationProtocol() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException
public TlsCipherSuite getNegotiatedCipherSuite() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public X509Certificate getRemoteCertificate() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public SslProtocols getSslProtocol() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public java.lang.String getTargetHostName()
throws java.lang.Throwable
java.lang.Throwablepublic TransportContext getTransportContext() throws java.lang.Throwable
java.lang.Throwablepublic Task NegotiateClientCertificateAsync(CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ArrayTypeMismatchException,
EventSourceException,
TaskSchedulerException,
TaskCanceledException,
AggregateException
Read in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionArrayTypeMismatchExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ArrayTypeMismatchException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
Read in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionArrayTypeMismatchExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic int ReadByte()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NullReferenceException,
NotSupportedException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
IOException
ReadByte in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionIOExceptionpublic long Seek(long offset,
SeekOrigin origin)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
Seek in class Streamjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class AuthenticatedStreampublic void SetLength(long value)
throws java.lang.Throwable
public Task ShutdownAsync() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, EventSourceException, KeyNotFoundException, CryptographicException, FormatException, OutOfMemoryException, Win32Exception, MissingMethodException, TargetInvocationException, AuthenticationException, UnreachableException, OperationCanceledException, SemaphoreFullException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionEventSourceExceptionKeyNotFoundExceptionCryptographicExceptionFormatExceptionOutOfMemoryExceptionWin32ExceptionMissingMethodExceptionTargetInvocationExceptionAuthenticationExceptionUnreachableExceptionOperationCanceledExceptionSemaphoreFullExceptionpublic void Write(byte[] buffer)
throws java.lang.Throwable
java.lang.Throwablepublic void Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
EventSourceException,
TaskSchedulerException,
TaskCanceledException,
AggregateException
Write in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic void Write(JCORefOut dupParam0) throws java.lang.Throwable
java.lang.Throwablepublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
Write in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException
WriteAsync in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException
WriteAsync in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionpublic void WriteByte(byte value)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
WriteByte in class Streamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchException