Hide Socket+DatagramSocket IpSecTransform methods
These methods do not currently work for IPv4 sockets, so they need to be hidden until the underlying kernel code can be made to work properly in a dual-stack environment. Bug: 36073210 Test: compilation Change-Id: Idce367f638a42da374a7f1dc5ebb8931c9555e06
This commit is contained in:
@@ -245,6 +245,7 @@ public final class IpSecManager {
|
|||||||
*
|
*
|
||||||
* @param socket a stream socket
|
* @param socket a stream socket
|
||||||
* @param transform an {@link IpSecTransform}, which must be an active Transport Mode transform.
|
* @param transform an {@link IpSecTransform}, which must be an active Transport Mode transform.
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public void applyTransportModeTransform(Socket socket, IpSecTransform transform)
|
public void applyTransportModeTransform(Socket socket, IpSecTransform transform)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
@@ -262,6 +263,7 @@ public final class IpSecManager {
|
|||||||
*
|
*
|
||||||
* @param socket a datagram socket
|
* @param socket a datagram socket
|
||||||
* @param transform an {@link IpSecTransform}, which must be an active Transport Mode transform.
|
* @param transform an {@link IpSecTransform}, which must be an active Transport Mode transform.
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public void applyTransportModeTransform(DatagramSocket socket, IpSecTransform transform)
|
public void applyTransportModeTransform(DatagramSocket socket, IpSecTransform transform)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
@@ -284,7 +286,7 @@ public final class IpSecManager {
|
|||||||
* address associated with that transform will throw an IOException. In addition, if the
|
* address associated with that transform will throw an IOException. In addition, if the
|
||||||
* IpSecTransform is later deactivated, the socket will throw an IOException on any calls to
|
* IpSecTransform is later deactivated, the socket will throw an IOException on any calls to
|
||||||
* send() or receive() until the transform is removed from the socket by calling {@link
|
* send() or receive() until the transform is removed from the socket by calling {@link
|
||||||
* #removeTransportModeTransform(Socket, IpSecTransform)};
|
* #removeTransportModeTransform(FileDescriptor, IpSecTransform)};
|
||||||
*
|
*
|
||||||
* @param socket a socket file descriptor
|
* @param socket a socket file descriptor
|
||||||
* @param transform an {@link IpSecTransform}, which must be an active Transport Mode transform.
|
* @param transform an {@link IpSecTransform}, which must be an active Transport Mode transform.
|
||||||
@@ -316,6 +318,7 @@ public final class IpSecManager {
|
|||||||
*
|
*
|
||||||
* @param socket a socket that previously had a transform applied to it.
|
* @param socket a socket that previously had a transform applied to it.
|
||||||
* @param transform the IPsec Transform that was previously applied to the given socket
|
* @param transform the IPsec Transform that was previously applied to the given socket
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public void removeTransportModeTransform(Socket socket, IpSecTransform transform)
|
public void removeTransportModeTransform(Socket socket, IpSecTransform transform)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
@@ -331,6 +334,7 @@ public final class IpSecManager {
|
|||||||
*
|
*
|
||||||
* @param socket a socket that previously had a transform applied to it.
|
* @param socket a socket that previously had a transform applied to it.
|
||||||
* @param transform the IPsec Transform that was previously applied to the given socket
|
* @param transform the IPsec Transform that was previously applied to the given socket
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public void removeTransportModeTransform(DatagramSocket socket, IpSecTransform transform)
|
public void removeTransportModeTransform(DatagramSocket socket, IpSecTransform transform)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|||||||
Reference in New Issue
Block a user