Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 36 of 36 for GeneralSecurityException (0.16 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.startsWith
    import java.io.IOException
    import java.net.SocketException
    import java.security.GeneralSecurityException
    import java.security.SecureRandom
    import java.security.cert.X509Certificate
    import java.util.Arrays
    import javax.net.ssl.KeyManager
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLException
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13K bytes
    - Click Count (0)
  2. docs/features/https.md

              SSLContext sslContext = SSLContext.getInstance("TLS");
              sslContext.init(null, new TrustManager[] { trustManager }, null);
              sslSocketFactory = sslContext.getSocketFactory();
            } catch (GeneralSecurityException e) {
              throw new RuntimeException(e);
            }
    
            client = new OkHttpClient.Builder()
                .sslSocketFactory(sslSocketFactory, trustManager)
                .build();
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.tls
    
    import java.math.BigInteger
    import java.net.InetAddress
    import java.security.GeneralSecurityException
    import java.security.KeyFactory
    import java.security.KeyPair
    import java.security.KeyPairGenerator
    import java.security.PrivateKey
    import java.security.PublicKey
    import java.security.SecureRandom
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                                rc4.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(ntlm2SessionKey, "RC4"));
                                rc4.update(masterKey, 0, 16, exchangedKey, 0);
                            } catch (GeneralSecurityException gse) {
                                throw new RuntimeException("", gse);
                            }
                            */
    
                            setSessionKey(exchangedKey);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.io.Serializable;
    import java.io.UnsupportedEncodingException;
    import java.security.GeneralSecurityException;
    import java.security.MessageDigest;
    import java.security.Principal;
    import java.util.Arrays;
    import java.util.Random;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.DES;
    import jcifs.smb1.util.Encdec;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  6. docs/smb3-features/03-multi-channel-design.md

    ### 9.1 Channel Binding Security
    ```java
    public class SecureChannelBinding {
        private final byte[] sessionKey;
        
        public byte[] generateChannelBindingHash(ChannelInfo channel) throws GeneralSecurityException {
            // Use HMAC-SHA256 for channel binding
            Mac mac = Mac.getInstance("HmacSHA256");
            SecretKeySpec keySpec = new SecretKeySpec(sessionKey, "HmacSHA256");
            mac.init(keySpec);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top