Package system.net.security
Class NegotiateStream
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.io.Stream
-
- system.net.security.AuthenticatedStream
-
- system.net.security.NegotiateStream
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class NegotiateStream extends AuthenticatedStream
The base .NET class managing System.Net.Security.NegotiateStream, System.Net.Security, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Security.NegotiateStream
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Net.Security, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Net.Securitystatic java.lang.String
className
Qualified class name: System.Net.Security.NegotiateStreamstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description NegotiateStream()
NegotiateStream(java.lang.Object instance)
Internal constructor.NegotiateStream(Stream innerStream)
NegotiateStream(Stream innerStream, boolean leaveInnerStreamOpen)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AuthenticateAsClient()
void
AuthenticateAsClient(NetworkCredential credential, java.lang.String targetName)
void
AuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
void
AuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName)
void
AuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
Task
AuthenticateAsClientAsync()
Task
AuthenticateAsClientAsync(NetworkCredential credential, java.lang.String targetName)
Task
AuthenticateAsClientAsync(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
Task
AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName)
Task
AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
void
AuthenticateAsServer()
void
AuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
void
AuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
void
AuthenticateAsServer(ExtendedProtectionPolicy policy)
Task
AuthenticateAsServerAsync()
Task
AuthenticateAsServerAsync(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
Task
AuthenticateAsServerAsync(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel)
Task
AuthenticateAsServerAsync(ExtendedProtectionPolicy policy)
IAsyncResult
BeginAuthenticateAsClient(AsyncCallback asyncCallback, NetObject asyncState)
IAsyncResult
BeginAuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, AsyncCallback asyncCallback, NetObject asyncState)
IAsyncResult
BeginAuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState)
IAsyncResult
BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, AsyncCallback asyncCallback, NetObject asyncState)
IAsyncResult
BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState)
IAsyncResult
BeginAuthenticateAsServer(AsyncCallback asyncCallback, NetObject asyncState)
IAsyncResult
BeginAuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState)
IAsyncResult
BeginAuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState)
IAsyncResult
BeginAuthenticateAsServer(ExtendedProtectionPolicy policy, 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 NegotiateStream
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoNegotiateStream
, 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)
TokenImpersonationLevel
getImpersonationLevel()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeIIdentity
getRemoteIdentity()
int
Read(byte[] buffer, int offset, int count)
int
Read(JCORefOut dupParam0, int dupParam1, int dupParam2)
long
Seek(long offset, SeekOrigin origin)
void
setJCOInstance(JCObject instance)
void
SetLength(long value)
void
Write(byte[] buffer, int offset, int count)
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)
-
Methods inherited from class system.net.security.AuthenticatedStream
getIsAuthenticated, getIsEncrypted, getIsMutuallyAuthenticated, getIsServer, getIsSigned, getLeaveInnerStreamOpen
-
Methods inherited from class system.io.Stream
close, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadByte, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsync, WriteByte
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Security, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Security- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Security.NegotiateStream- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NegotiateStream
public NegotiateStream(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
NegotiateStream
public NegotiateStream() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
NegotiateStream
public NegotiateStream(Stream innerStream, boolean leaveInnerStreamOpen) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
NegotiateStream
public NegotiateStream(Stream innerStream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classAuthenticatedStream
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classAuthenticatedStream
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classAuthenticatedStream
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classAuthenticatedStream
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classAuthenticatedStream
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classAuthenticatedStream
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static NegotiateStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoNegotiateStream
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
NegotiateStream
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
EndRead
public int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
- Overrides:
EndRead
in classStream
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
EventSourceException
InvalidOperationException
TaskSchedulerException
TaskCanceledException
AggregateException
-
Read
public int Read(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Overrides:
Read
in classStream
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
Read
public int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Overrides:
Read
in classStream
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
Seek
public long Seek(long offset, SeekOrigin origin) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException
- Overrides:
Seek
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
-
BeginAuthenticateAsClient
public IAsyncResult BeginAuthenticateAsClient(AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
-
BeginAuthenticateAsClient
public IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
-
BeginAuthenticateAsClient
public IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException
-
BeginAuthenticateAsClient
public IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
-
BeginAuthenticateAsClient
public IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
-
BeginAuthenticateAsServer
public IAsyncResult BeginAuthenticateAsServer(AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
-
BeginAuthenticateAsServer
public IAsyncResult BeginAuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
-
BeginAuthenticateAsServer
public IAsyncResult BeginAuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException
-
BeginAuthenticateAsServer
public IAsyncResult BeginAuthenticateAsServer(ExtendedProtectionPolicy policy, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, Win32Exception, NotSupportedException, EventSourceException
-
BeginRead
public IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException
- Overrides:
BeginRead
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
PlatformNotSupportedException
ObjectDisposedException
ArgumentException
InvalidOperationException
OperationCanceledException
SemaphoreFullException
OutOfMemoryException
-
BeginRead
public IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException
- Overrides:
BeginRead
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
PlatformNotSupportedException
ObjectDisposedException
ArgumentException
InvalidOperationException
OperationCanceledException
SemaphoreFullException
OutOfMemoryException
-
BeginWrite
public IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException
- Overrides:
BeginWrite
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
PlatformNotSupportedException
ObjectDisposedException
ArgumentException
InvalidOperationException
OperationCanceledException
SemaphoreFullException
OutOfMemoryException
-
BeginWrite
public IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, OperationCanceledException, SemaphoreFullException, OutOfMemoryException
- Overrides:
BeginWrite
in classStream
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
PlatformNotSupportedException
ObjectDisposedException
ArgumentException
InvalidOperationException
OperationCanceledException
SemaphoreFullException
OutOfMemoryException
-
AuthenticateAsClientAsync
public Task AuthenticateAsClientAsync() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException
-
AuthenticateAsClientAsync
public Task AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, Win32Exception, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ObjectDisposedException
PlatformNotSupportedException
ArgumentNullException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
Win32Exception
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
AuthenticateAsClientAsync
public Task AuthenticateAsClientAsync(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException
-
AuthenticateAsClientAsync
public Task AuthenticateAsClientAsync(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException
-
AuthenticateAsClientAsync
public Task AuthenticateAsClientAsync(NetworkCredential credential, java.lang.String targetName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException
-
AuthenticateAsServerAsync
public Task AuthenticateAsServerAsync() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException
-
AuthenticateAsServerAsync
public Task AuthenticateAsServerAsync(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException
-
AuthenticateAsServerAsync
public Task AuthenticateAsServerAsync(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, Win32Exception, NotSupportedException
-
AuthenticateAsServerAsync
public Task AuthenticateAsServerAsync(ExtendedProtectionPolicy policy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException
-
FlushAsync
public Task FlushAsync(CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, EventSourceException, IndexOutOfRangeException
- Overrides:
FlushAsync
in classStream
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
OutOfMemoryException
EventSourceException
IndexOutOfRangeException
-
WriteAsync
public Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
- Overrides:
WriteAsync
in classStream
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OperationCanceledException
TaskCanceledException
AggregateException
SemaphoreFullException
TaskSchedulerException
-
WriteAsync
public Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
- Overrides:
WriteAsync
in classStream
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OperationCanceledException
TaskCanceledException
AggregateException
SemaphoreFullException
TaskSchedulerException
-
DisposeAsync
public ValueTask DisposeAsync() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
- Overrides:
DisposeAsync
in classAuthenticatedStream
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
-
AuthenticateAsClient
public void AuthenticateAsClient() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
Win32Exception
NotSupportedException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
AuthenticateAsClient
public void AuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, Win32Exception, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ObjectDisposedException
PlatformNotSupportedException
ArgumentNullException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
Win32Exception
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
TaskSchedulerException
OperationCanceledException
TaskCanceledException
AggregateException
-
AuthenticateAsClient
public void AuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, java.lang.String targetName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
Win32Exception
NotSupportedException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
AuthenticateAsClient
public void AuthenticateAsClient(NetworkCredential credential, java.lang.String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
Win32Exception
NotSupportedException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
AuthenticateAsClient
public void AuthenticateAsClient(NetworkCredential credential, java.lang.String targetName) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
Win32Exception
NotSupportedException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
AuthenticateAsServer
public void AuthenticateAsServer() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
Win32Exception
NotSupportedException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
AuthenticateAsServer
public void AuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
Win32Exception
NotSupportedException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
AuthenticateAsServer
public void AuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
Win32Exception
NotSupportedException
EventSourceException
TaskSchedulerException
OperationCanceledException
TaskCanceledException
AggregateException
-
AuthenticateAsServer
public void AuthenticateAsServer(ExtendedProtectionPolicy policy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, NotSupportedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
Win32Exception
NotSupportedException
EventSourceException
TaskSchedulerException
TaskCanceledException
AggregateException
-
EndAuthenticateAsClient
public void EndAuthenticateAsClient(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndAuthenticateAsServer
public void EndAuthenticateAsServer(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndWrite
public void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
- Overrides:
EndWrite
in classStream
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
EventSourceException
InvalidOperationException
TaskSchedulerException
TaskCanceledException
AggregateException
-
Flush
public void Flush() throws java.lang.Throwable
-
SetLength
public void SetLength(long value) throws java.lang.Throwable
-
Write
public void Write(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
- Overrides:
Write
in classStream
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
EventSourceException
TaskSchedulerException
OperationCanceledException
TaskCanceledException
AggregateException
-
Write
public void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException
- Overrides:
Write
in classStream
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
EventSourceException
TaskSchedulerException
OperationCanceledException
TaskCanceledException
AggregateException
-
getRemoteIdentity
public IIdentity getRemoteIdentity() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException
-
getImpersonationLevel
public TokenImpersonationLevel getImpersonationLevel() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException
-
-