jdk/src/java.base/share/classes/sun/security/ssl/Handshaker.java
changeset 32649 2ee9017c7597
parent 31712 e4d5230193da
child 34380 2b2609379881
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   583      * Check if the given ciphersuite is enabled and available within the
   583      * Check if the given ciphersuite is enabled and available within the
   584      * proposed cipher suite list.
   584      * proposed cipher suite list.
   585      *
   585      *
   586      * Does not check if the required server certificates are available.
   586      * Does not check if the required server certificates are available.
   587      */
   587      */
   588     final static boolean isNegotiable(CipherSuiteList proposed, CipherSuite s) {
   588     static final boolean isNegotiable(CipherSuiteList proposed, CipherSuite s) {
   589         return proposed.contains(s) && s.isNegotiable();
   589         return proposed.contains(s) && s.isNegotiable();
   590     }
   590     }
   591 
   591 
   592     /**
   592     /**
   593      * Check if the given protocol version is enabled and available.
   593      * Check if the given protocol version is enabled and available.