harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r726577 - /harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/
Date Sun, 14 Dec 2008 23:22:49 GMT
Author: ndbeyer
Date: Sun Dec 14 15:22:47 2008
New Revision: 726577

URL: http://svn.apache.org/viewvc?rev=726577&view=rev
Log:
Remove unnecessary comments, format code

Modified:
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngine.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngineResult.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLException.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLHandshakeException.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLKeyException.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPeerUnverifiedException.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPermission.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLProtocolException.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocket.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocketFactory.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSession.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingEvent.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingListener.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionContext.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocket.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocketFactory.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509KeyManager.java
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509TrustManager.java

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngine.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngine.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngine.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngine.java
Sun Dec 14 15:22:47 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.nio.ByteBuffer;
@@ -46,7 +41,7 @@
      * Constructs an instance with the given peer host and port.
      * 
      * @param host name of the peer host
-     * @param port value of the port of the peer host 
+     * @param port value of the port of the peer host
      */
     protected SSLEngine(String host, int port) {
         super();
@@ -61,7 +56,7 @@
     public int getPeerPort() {
         return peerPort;
     }
-    
+
     public abstract void beginHandshake() throws SSLException;
 
     public abstract void closeInbound() throws SSLException;
@@ -106,101 +101,54 @@
 
     public abstract void setWantClientAuth(boolean want);
 
-    public abstract SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts,
-            int offset, int length) throws SSLException;
+    public abstract SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset,
int length)
+            throws SSLException;
 
-    public abstract SSLEngineResult wrap(ByteBuffer[] srcs, int offset,
-            int length, ByteBuffer dst) throws SSLException;
+    public abstract SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer
dst)
+            throws SSLException;
 
     /**
-     * implementation behavior follows RI:
-     * jdk 1.5 does not throw IllegalArgumentException when parameters are null
-     * and does not throw ReadOnlyBufferException if dst is read only byte buffer
-     *  
-     */
-    public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst)
-            throws SSLException {
-//        if (src == null) {
-//            throw new IllegalArgumentException("Byte buffer src is null");
-//        }
-//        if (dst == null) {
-//            throw new IllegalArgumentException("Byte buffer dst is null");
-//        }
-//        if (dst.isReadOnly()) {
-//            throw new ReadOnlyBufferException();
-//        }
+     * implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException
when
+     * parameters are null and does not throw ReadOnlyBufferException if dst is read only
byte
+     * buffer
+     * 
+     */
+    public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst) throws SSLException {
         return unwrap(src, new ByteBuffer[] { dst }, 0, 1);
     }
 
     /**
-     * implementation behavior follows RI:
-     * jdk 1.5 does not throw IllegalArgumentException when src is null or if
-     * dsts contains null elements
-     * It does not throw ReadOnlyBufferException when dsts contains read only elements
-     */
-    public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts)
-            throws SSLException {
-//        if (src == null) {
-//            throw new IllegalArgumentException("Byte buffer src is null");
-//        }
+     * implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException
when src
+     * is null or if dsts contains null elements It does not throw ReadOnlyBufferException
when dsts
+     * contains read only elements
+     */
+    public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts) throws SSLException
{
         if (dsts == null) {
             throw new IllegalArgumentException("Byte buffer array dsts is null");
         }
-//        for (int i = 0; i < dsts.length; i++) {
-//            if (dsts[i] == null) {
-//                throw new IllegalArgumentException("Byte buffer dsts[" + i
-//                        + "]  is null");
-//            }
-//            if (dsts[i].isReadOnly()) {
-//                throw new ReadOnlyBufferException();
-//            }
-//        }
         return unwrap(src, dsts, 0, dsts.length);
     }
 
     /**
-     * implementation behavior follows RI: jdk 1.5 does not throw
-     * IllegalArgumentException when dst is null or if srcs contains null
-     * elements It does not throw ReadOnlyBufferException for read only dst
-     *  
+     * implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException
when dst
+     * is null or if srcs contains null elements It does not throw ReadOnlyBufferException
for read
+     * only dst
+     * 
      */
-    public SSLEngineResult wrap(ByteBuffer[] srcs, ByteBuffer dst)
-            throws SSLException {
+    public SSLEngineResult wrap(ByteBuffer[] srcs, ByteBuffer dst) throws SSLException {
         if (srcs == null) {
             throw new IllegalArgumentException("Byte buffer array srcs is null");
         }
-//        for (int i = 0; i < srcs.length; i++) {
-//            if (srcs[i] == null) {
-//                throw new IllegalArgumentException("Byte buffer srcs[" + i
-//                        + "]  is null");
-//            }
-//        }
-//        if (dst == null) {
-//            throw new IllegalArgumentException("Byte buffer array dst is null");
-//        }
-//        if (dst.isReadOnly()) {
-//            throw new ReadOnlyBufferException();
-//        }
         return wrap(srcs, 0, srcs.length, dst);
     }
 
     /**
-     * implementation behavior follows RI:
-     * jdk 1.5 does not throw IllegalArgumentException when parameters are null
-     * and does not throw ReadOnlyBufferException if dst is read only byte buffer
-     *  
-     */
-    public SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst)
-            throws SSLException {
-//        if (src == null) {
-//            throw new IllegalArgumentException("Byte buffer src is null");
-//        }
-//        if (dst == null) {
-//            throw new IllegalArgumentException("Byte buffer dst is null");
-//        }
-//        if (dst.isReadOnly()) {
-//            throw new ReadOnlyBufferException();
-//        }
+     * implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException
when
+     * parameters are null and does not throw ReadOnlyBufferException if dst is read only
byte
+     * buffer
+     * 
+     */
+    public SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst) throws SSLException {
         return wrap(new ByteBuffer[] { src }, 0, 1, dst);
     }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngineResult.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngineResult.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngineResult.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLEngineResult.java
Sun Dec 14 15:22:47 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 public class SSLEngineResult {

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLException.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLException.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLException.java
Sun Dec 14 15:22:47 2008
@@ -15,47 +15,22 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.io.IOException;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public class SSLException extends IOException {
-    /**
-     * @com.intel.drl.spec_ref
-     * @serial
-     */
     private static final long serialVersionUID = 4511006460650708967L;
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public SSLException(String reason) {
         super(reason);
     }
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public SSLException(String message, Throwable cause) {
         super(message);
         super.initCause(cause);
     }
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public SSLException(Throwable cause) {
         super(cause == null ? null : cause.toString());
         super.initCause(cause);

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLHandshakeException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLHandshakeException.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLHandshakeException.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLHandshakeException.java
Sun Dec 14 15:22:47 2008
@@ -15,26 +15,13 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public class SSLHandshakeException extends SSLException {
-    
+
     private static final long serialVersionUID = -5045881315018326890L;
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public SSLHandshakeException(String reason) {
         super(reason);
     }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLKeyException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLKeyException.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLKeyException.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLKeyException.java
Sun Dec 14 15:22:47 2008
@@ -15,26 +15,13 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public class SSLKeyException extends SSLException {
 
     private static final long serialVersionUID = -8071664081941937874L;
-    
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
+
     public SSLKeyException(String reason) {
         super(reason);
     }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPeerUnverifiedException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPeerUnverifiedException.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPeerUnverifiedException.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPeerUnverifiedException.java
Sun Dec 14 15:22:47 2008
@@ -15,26 +15,13 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public class SSLPeerUnverifiedException extends SSLException {
-    
+
     private static final long serialVersionUID = -8919512675000600547L;
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public SSLPeerUnverifiedException(String reason) {
         super(reason);
     }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPermission.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPermission.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPermission.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLPermission.java
Sun Dec 14 15:22:47 2008
@@ -15,23 +15,14 @@
  *  limitations under the License.
  */
 
-/**
-* @author Boris V. Kuznetsov
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.security.BasicPermission;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public final class SSLPermission extends BasicPermission {
-    
+
     private static final long serialVersionUID = -3456898025505876775L;
-    
+
     public SSLPermission(String name) {
         super(name);
     }
@@ -39,4 +30,4 @@
     public SSLPermission(String name, String actions) {
         super(name, actions);
     }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLProtocolException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLProtocolException.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLProtocolException.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLProtocolException.java
Sun Dec 14 15:22:47 2008
@@ -15,26 +15,13 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public class SSLProtocolException extends SSLException {
-    
+
     private static final long serialVersionUID = 5445067063799134928L;
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public SSLProtocolException(String reason) {
         super(reason);
     }
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocket.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocket.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocket.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocket.java
Sun Dec 14 15:22:47 2008
@@ -15,22 +15,14 @@
  *  limitations under the License.
  */
 
-/**
-* @author Boris V. Kuznetsov
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.io.IOException;
 import java.net.InetAddress;
 import java.net.ServerSocket;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public abstract class SSLServerSocket extends ServerSocket {
+
     protected SSLServerSocket() throws IOException {
         super();
     }
@@ -43,23 +35,35 @@
         super(port, backlog);
     }
 
-    protected SSLServerSocket(int port, int backlog, InetAddress address)
-            throws IOException {
+    protected SSLServerSocket(int port, int backlog, InetAddress address) throws IOException
{
         super(port, backlog, address);
     }
-    
+
     public abstract String[] getEnabledCipherSuites();
+
     public abstract void setEnabledCipherSuites(String[] suites);
+
     public abstract String[] getSupportedCipherSuites();
+
     public abstract String[] getSupportedProtocols();
+
     public abstract String[] getEnabledProtocols();
+
     public abstract void setEnabledProtocols(String[] protocols);
+
     public abstract void setNeedClientAuth(boolean need);
+
     public abstract boolean getNeedClientAuth();
+
     public abstract void setWantClientAuth(boolean want);
+
     public abstract boolean getWantClientAuth();
+
     public abstract void setUseClientMode(boolean mode);
+
     public abstract boolean getUseClientMode();
+
     public abstract void setEnableSessionCreation(boolean flag);
+
     public abstract boolean getEnableSessionCreation();
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocketFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocketFactory.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocketFactory.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLServerSocketFactory.java
Sun Dec 14 15:22:47 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Boris V. Kuznetsov
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.security.AccessController;

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSession.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSession.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSession.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSession.java
Sun Dec 14 15:22:47 2008
@@ -15,148 +15,53 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.security.Principal;
 import java.security.cert.Certificate;
 import javax.security.cert.X509Certificate;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public interface SSLSession {
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public int getApplicationBufferSize();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public String getCipherSuite();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public long getCreationTime();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public byte[] getId();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public long getLastAccessedTime();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public Certificate[] getLocalCertificates();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public Principal getLocalPrincipal();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public int getPacketBufferSize();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
-    public X509Certificate[] getPeerCertificateChain()
-            throws SSLPeerUnverifiedException;
-
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
-    public Certificate[] getPeerCertificates()
-            throws SSLPeerUnverifiedException;
-
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
+    public X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException;
+
+    public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException;
+
     public String getPeerHost();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public int getPeerPort();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public Principal getPeerPrincipal() throws SSLPeerUnverifiedException;
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public String getProtocol();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public SSLSessionContext getSessionContext();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public Object getValue(String name);
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public String[] getValueNames();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public void invalidate();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public boolean isValid();
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public void putValue(String name, Object value);
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public void removeValue(String name);
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingEvent.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingEvent.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingEvent.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingEvent.java
Sun Dec 14 15:22:47 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Boris V. Kuznetsov
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.io.Serializable;
@@ -28,8 +23,8 @@
 public class SSLSessionBindingEvent extends EventObject implements Serializable {
 
     /**
-     * The 5.0 spec. doesn't declare this serialVersionUID field In order to be compatible
-     * it is explicitly declared here
+     * The 5.0 spec. doesn't declare this serialVersionUID field In order to be compatible
it is
+     * explicitly declared here
      */
     private static final long serialVersionUID = 3989172637106345L;
 

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingListener.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingListener.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingListener.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionBindingListener.java
Sun Dec 14 15:22:47 2008
@@ -15,31 +15,14 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.util.EventListener;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public interface SSLSessionBindingListener extends EventListener {
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public void valueBound(SSLSessionBindingEvent event);
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public void valueUnbound(SSLSessionBindingEvent event);
 
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionContext.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionContext.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSessionContext.java
Sun Dec 14 15:22:47 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.util.Enumeration;

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocket.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocket.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocket.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocket.java
Sun Dec 14 15:22:47 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Boris V. Kuznetsov
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.io.IOException;
@@ -27,17 +22,13 @@
 import java.net.Socket;
 import java.net.UnknownHostException;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public abstract class SSLSocket extends Socket {
+
     protected SSLSocket() {
         super();
     }
 
-    protected SSLSocket(String host, int port) throws IOException,
-            UnknownHostException {
+    protected SSLSocket(String host, int port) throws IOException, UnknownHostException {
         super(host, port);
     }
 
@@ -45,33 +36,50 @@
         super(address, port);
     }
 
-    protected SSLSocket(String host, int port, InetAddress clientAddress,
-            int clientPort) throws IOException, UnknownHostException {
+    protected SSLSocket(String host, int port, InetAddress clientAddress, int clientPort)
+            throws IOException, UnknownHostException {
         super(host, port, clientAddress, clientPort);
     }
 
-    protected SSLSocket(InetAddress address, int port,
-            InetAddress clientAddress, int clientPort) throws IOException {
+    protected SSLSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort)
+            throws IOException {
         super(address, port, clientAddress, clientPort);
     }
-    
+
     public abstract String[] getSupportedCipherSuites();
+
     public abstract String[] getEnabledCipherSuites();
+
     public abstract void setEnabledCipherSuites(String[] suites);
+
     public abstract String[] getSupportedProtocols();
+
     public abstract String[] getEnabledProtocols();
+
     public abstract void setEnabledProtocols(String[] protocols);
+
     public abstract SSLSession getSession();
+
     public abstract void addHandshakeCompletedListener(HandshakeCompletedListener listener);
+
     public abstract void removeHandshakeCompletedListener(HandshakeCompletedListener listener);
+
     public abstract void startHandshake() throws IOException;
+
     public abstract void setUseClientMode(boolean mode);
+
     public abstract boolean getUseClientMode();
+
     public abstract void setNeedClientAuth(boolean need);
+
     public abstract boolean getNeedClientAuth();
+
     public abstract void setWantClientAuth(boolean want);
+
     public abstract boolean getWantClientAuth();
+
     public abstract void setEnableSessionCreation(boolean flag);
+
     public abstract boolean getEnableSessionCreation();
-    
-}
\ No newline at end of file
+
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocketFactory.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocketFactory.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocketFactory.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/SSLSocketFactory.java
Sun Dec 14 15:22:47 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Boris V. Kuznetsov
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.io.IOException;

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509ExtendedKeyManager.java
Sun Dec 14 15:22:47 2008
@@ -15,32 +15,22 @@
  *  limitations under the License.
  */
 
-/**
-* @author Boris V. Kuznetsov
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.security.Principal;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public abstract class X509ExtendedKeyManager implements X509KeyManager {
+
     protected X509ExtendedKeyManager() {
         super();
     }
 
-    public String chooseEngineClientAlias(String[] keyType,
-            Principal[] issuers, SSLEngine engine) {
+    public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine
engine) {
         return null;
     }
 
-    public String chooseEngineServerAlias(String keyType, Principal[] issuers,
-            SSLEngine engine) {
+    public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine
engine) {
         return null;
     }
 
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509KeyManager.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509KeyManager.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509KeyManager.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509KeyManager.java
Sun Dec 14 15:22:47 2008
@@ -15,11 +15,6 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.net.Socket;
@@ -27,47 +22,17 @@
 import java.security.PrivateKey;
 import java.security.cert.X509Certificate;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public interface X509KeyManager extends KeyManager {
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
-    public String chooseClientAlias(String[] keyType, Principal[] issuers,
-            Socket socket);
-
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
-    public String chooseServerAlias(String keyType, Principal[] issuers,
-            Socket socket);
-
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
+    public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket);
+
+    public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket);
+
     public X509Certificate[] getCertificateChain(String alias);
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public String[] getClientAliases(String keyType, Principal[] issuers);
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public String[] getServerAliases(String keyType, Principal[] issuers);
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public PrivateKey getPrivateKey(String alias);
-}
\ No newline at end of file
+}

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509TrustManager.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509TrustManager.java?rev=726577&r1=726576&r2=726577&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509TrustManager.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/ssl/X509TrustManager.java
Sun Dec 14 15:22:47 2008
@@ -15,39 +15,18 @@
  *  limitations under the License.
  */
 
-/**
-* @author Vera Y. Petrashkova
-* @version $Revision$
-*/
-
 package javax.net.ssl;
 
 import java.security.cert.CertificateException;
 import java.security.cert.X509Certificate;
 
-/**
- * @com.intel.drl.spec_ref
- * 
- */
 public interface X509TrustManager extends TrustManager {
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public void checkClientTrusted(X509Certificate[] chain, String authType)
             throws CertificateException;
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public void checkServerTrusted(X509Certificate[] chain, String authType)
             throws CertificateException;
 
-    /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
     public X509Certificate[] getAcceptedIssuers();
-}
\ No newline at end of file
+}



Mime
View raw message