- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for KEYSTORE (0.1 sec)
-
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/configuration/DaemonJvmOptionsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpsToHttpsRedirectResolveIntegrationTest.groovy
@Override boolean defaultAllowInsecureProtocol() { return false } void beforeServerStart() { keyStore = TestKeyStore.init(resources.dir) keyStore.enableSslWithServerCert(server) keyStore.enableSslWithServerCert(backingServer) keyStore.configureServerCert(executer) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpsProxyResolveIntegrationTest.groovy
TestKeyStore keyStore @Override String getProxyScheme() { return 'https' } @Override String getRepoServerUrl() { "https://localhost:${server.sslPort}/repo" } @Override boolean isTunnel() { true } @Override void setupServer() { keyStore = TestKeyStore.init(resources.dir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.5K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
throws GeneralSecurityException, IOException { KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType()); try (InputStream in = new FileInputStream(keystoreFile)) { keystore.load(in, password.toCharArray()); } KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm()); keyManagerFactory.init(keystore, password.toCharArray());
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy
then: configurationCache.assertStateLoaded() where: encryptionTransformation | source "AES/ECB/PKCS5PADDING" | EncryptionKind.KEYSTORE "AES/CBC/PKCS5PADDING" | EncryptionKind.KEYSTORE "AES/ECB/PKCS5PADDING" | EncryptionKind.ENV_VAR "AES/CBC/PKCS5PADDING" | EncryptionKind.ENV_VAR }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
factory.init(keyStore, password) val result = factory.keyManagers!! check(result.size == 1 && result[0] is X509KeyManager) { "Unexpected key managers:${result.contentToString()}" } return result[0] as X509KeyManager } private fun newEmptyKeyStore(keyStoreType: String?): KeyStore { return KeyStore.getInstance(keyStoreType ?: KeyStore.getDefaultType()).apply {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
val callbackHandler = ConsoleCallbackHandler val builderList: List<KeyStore.Builder> = listOf( KeyStore.Builder.newInstance("PKCS11", null, KeyStore.CallbackHandlerProtection(callbackHandler)), // Example if you want to combine multiple keystore types // KeyStore.Builder.newInstance("PKCS12", null, File("keystore.p12"), PasswordProtection("rosebud".toCharArray())) )
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (1) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/DeprecatedTLSVersionDependencyResolutionIntegrationTest.groovy
@Rule TestResources resources = new TestResources(temporaryFolder) TestKeyStore keyStore = TestKeyStore.init(resources.dir) ResolveFailureTestFixture failedResolve = new ResolveFailureTestFixture(buildFile) def "unable to resolve dependencies when server only supports deprecated TLS versions"() { given: keyStore.enableSslWithServerCert(mavenHttpRepo.server) { it.addExcludeProtocols("TLSv1.2", "TLSv1.3")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CurlHelper.java
final KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); keyStore.load(null, null); keyStore.setCertificateEntry("server", certificate); final TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); trustManagerFactory.init(keyStore);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaRetriesIntegTest.groovy
import org.gradle.test.fixtures.keystore.TestKeyStore import org.gradle.test.fixtures.server.http.HttpServer import org.gradle.test.fixtures.server.http.IvyHttpModule import org.gradle.test.fixtures.server.http.IvyHttpRepository import org.junit.Rule class IvyPublishJavaRetriesIntegTest extends AbstractIvyPublishIntegTest { TestKeyStore keyStore @Rule public final HttpServer server = new HttpServer()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 3.8K bytes - Viewed (0)