Share via


IpSecManager.RemoveTransportModeTransforms Method

Definition

Overloads

RemoveTransportModeTransforms(FileDescriptor)

Remove an IPsec transform from a socket.

RemoveTransportModeTransforms(DatagramSocket)

Remove an IPsec transform from a datagram socket.

RemoveTransportModeTransforms(Socket)

Remove an IPsec transform from a stream socket.

RemoveTransportModeTransforms(FileDescriptor)

Remove an IPsec transform from a socket.

[Android.Runtime.Register("removeTransportModeTransforms", "(Ljava/io/FileDescriptor;)V", "GetRemoveTransportModeTransforms_Ljava_io_FileDescriptor_Handler", ApiSince=28)]
public virtual void RemoveTransportModeTransforms (Java.IO.FileDescriptor socket);
[<Android.Runtime.Register("removeTransportModeTransforms", "(Ljava/io/FileDescriptor;)V", "GetRemoveTransportModeTransforms_Ljava_io_FileDescriptor_Handler", ApiSince=28)>]
abstract member RemoveTransportModeTransforms : Java.IO.FileDescriptor -> unit
override this.RemoveTransportModeTransforms : Java.IO.FileDescriptor -> unit

Parameters

socket
FileDescriptor

a socket that previously had a transform applied to it

Attributes

Remarks

Remove an IPsec transform from a socket.

Once removed, traffic on the socket will not be encrypted. Removing transforms from a socket allows the socket to be reused for communication in the clear.

If an IpSecTransform object applied to this socket was deallocated by calling IpSecTransform#close(), then communication on the socket will fail until this method is called.

Java documentation for android.net.IpSecManager.removeTransportModeTransforms(java.io.FileDescriptor).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

RemoveTransportModeTransforms(DatagramSocket)

Remove an IPsec transform from a datagram socket.

[Android.Runtime.Register("removeTransportModeTransforms", "(Ljava/net/DatagramSocket;)V", "GetRemoveTransportModeTransforms_Ljava_net_DatagramSocket_Handler", ApiSince=28)]
public virtual void RemoveTransportModeTransforms (Java.Net.DatagramSocket socket);
[<Android.Runtime.Register("removeTransportModeTransforms", "(Ljava/net/DatagramSocket;)V", "GetRemoveTransportModeTransforms_Ljava_net_DatagramSocket_Handler", ApiSince=28)>]
abstract member RemoveTransportModeTransforms : Java.Net.DatagramSocket -> unit
override this.RemoveTransportModeTransforms : Java.Net.DatagramSocket -> unit

Parameters

socket
DatagramSocket

a socket that previously had a transform applied to it

Attributes

Remarks

Remove an IPsec transform from a datagram socket.

Once removed, traffic on the socket will not be encrypted. Removing transforms from a socket allows the socket to be reused for communication in the clear.

If an IpSecTransform object applied to this socket was deallocated by calling IpSecTransform#close(), then communication on the socket will fail until this method is called.

Java documentation for android.net.IpSecManager.removeTransportModeTransforms(java.net.DatagramSocket).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

RemoveTransportModeTransforms(Socket)

Remove an IPsec transform from a stream socket.

[Android.Runtime.Register("removeTransportModeTransforms", "(Ljava/net/Socket;)V", "GetRemoveTransportModeTransforms_Ljava_net_Socket_Handler", ApiSince=28)]
public virtual void RemoveTransportModeTransforms (Java.Net.Socket socket);
[<Android.Runtime.Register("removeTransportModeTransforms", "(Ljava/net/Socket;)V", "GetRemoveTransportModeTransforms_Ljava_net_Socket_Handler", ApiSince=28)>]
abstract member RemoveTransportModeTransforms : Java.Net.Socket -> unit
override this.RemoveTransportModeTransforms : Java.Net.Socket -> unit

Parameters

socket
Socket

a socket that previously had a transform applied to it

Attributes

Remarks

Remove an IPsec transform from a stream socket.

Once removed, traffic on the socket will not be encrypted. Removing transforms from a socket allows the socket to be reused for communication in the clear.

If an IpSecTransform object applied to this socket was deallocated by calling IpSecTransform#close(), then communication on the socket will fail until this method is called.

Java documentation for android.net.IpSecManager.removeTransportModeTransforms(java.net.Socket).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to