Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 58 for sslContext (0.77 seconds)

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

        assertThat(verifier).isInstanceOf<OkHostnameVerifier>()
        val handshakeCertificates = platform.localhostHandshakeCertificates()
        val session = handshakeCertificates.sslContext().createSSLEngine().session
        assertThat(localVerifier.verify("\uD83D\uDCA9.com", session)).isFalse()
      }
    
      @Test fun verifyAsIpAddress() {
        // IPv4
        assertThat("127.0.0.1".canParseAsIpAddress()).isTrue()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  2. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/platform/Platform;->connectSocket(Ljava/net/Socket;Ljava/net/InetSocketAddress;I)V
    HSPLokhttp3/internal/platform/Platform;->newSSLContext()Ljavax/net/ssl/SSLContext;
    HSPLokhttp3/internal/platform/Platform;->newSslSocketFactory(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory;
    HSPLokhttp3/internal/platform/Platform;->platformTrustManager()Ljavax/net/ssl/X509TrustManager;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  3. src/main/java/jcifs/smb/SSPContext.java

    /**
     * Security Support Provider (SSP) context.
     *
     * This interface provides context for security support provider
     * operations during SMB authentication.
     *
     * @author mbechler
     */
    public interface SSPContext {
    
        /**
         * Gets the signing key for the session.
         * @return the signing key for the session
         * @throws CIFSException if an error occurs retrieving the signing key
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

    package common
    
    import jetbrains.buildServer.configs.kotlin.DslContext
    
    fun isSecurityFork(): Boolean =
        DslContext.settingsRoot.id
            .toString()
            .lowercase()
            .contains("security")
    
    // GradleMaster -> Master
    // GradleSecurityAdvisory84mwRelease -> SecurityAdvisory84mwRelease
    val DslContext.uuidPrefix: String
        get() = settingsRoot.id.toString().substringAfter("Gradle")
    
    data class VersionedSettingsBranch(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/CredentialsInternalTest.java

                // These methods do not throw and allow interaction checks.
                tc.getConfig();
                tc.getCredentials();
    
                // Minimal behavior: return a mock SSPContext with lenient stubbing
                SSPContext ctx = mock(SSPContext.class);
                lenient().when(ctx.isEstablished()).thenReturn(false);
                return ctx;
            }
    
            @Override
            public Subject getSubject() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

        /**
         * Instance a <code>SpnegoContext</code> object by wrapping a {@link SSPContext}
         * with the same mechanism this {@link SSPContext} used.
         *
         * @param source
         *            the {@link SSPContext} to be wrapped
         */
        SpnegoContext(final Configuration config, final SSPContext source) {
            this(config, source, source.getSupportedMechs());
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. .teamcity/src/test/kotlin/Commons.kt

    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.DslContext
    import jetbrains.buildServer.configs.kotlin.buildSteps.GradleBuildStep
    
    fun DslContext.initForTest() {
        // Set the project id here, so we can use methods on the DslContext
        parentProjectId = AbsoluteId("Gradle")
        projectId = AbsoluteId("Gradle_Master")
        settingsRootId = AbsoluteId("GradleMaster")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 662 bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/projects/SmokeTestProject.kt

    package projects
    
    import common.uuidPrefix
    import configurations.OsAwareBaseGradleBuildType
    import jetbrains.buildServer.configs.kotlin.DslContext
    import jetbrains.buildServer.configs.kotlin.Project
    import model.CIBuildModel
    import model.SpecificBuild
    import model.Stage
    
    /**
     * Subproject under [StageProject] that groups smoke test build configurations.
     */
    class SmokeTestProject(
        model: CIBuildModel,
        stage: Stage,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  9. .teamcity/src/test/kotlin/PromotionProjectTests.kt

        }
    
        private fun setupModelFor(branchName: String): PromotionProject {
            // Set the project id here, so we can use methods on the DslContext
            DslContext.projectId = AbsoluteId("Gradle_${branchName.toCapitalized()}")
            DslContext.addParameters("branch" to branchName)
            return PromotionProject(VersionedSettingsBranch(branchName))
        }
    
        private fun gradleStep(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 15.3K bytes
    - Click Count (1)
  10. src/main/java/jcifs/smb/Kerb5Context.java

         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
        public boolean isSupported(ASN1ObjectIdentifier mechanism) {
            return KRB5_MECH_OID.equals(mechanism) || KRB5_MS_MECH_OID.equals(mechanism);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
Back to Top