Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for keyManager (0.19 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

      @get:JvmName("keyManager") val keyManager: X509KeyManager,
      @get:JvmName("trustManager") val trustManager: X509TrustManager,
    ) {
      @JvmName("-deprecated_keyManager")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "keyManager"),
        level = DeprecationLevel.ERROR,
      )
      fun keyManager(): X509KeyManager = keyManager
    
      @JvmName("-deprecated_trustManager")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  2. internal/kms/key-manager.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"context"
    
    	"github.com/minio/kms-go/kes"
    )
    
    // KeyManager is the generic interface that handles KMS key operations
    type KeyManager interface {
    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(ctx context.Context, keyID string) error
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        keyManagerFactory.init(KeyStoreBuilderParameters(builderList))
        val keyManager = keyManagerFactory.keyManagers[0] as X509ExtendedKeyManager
    
        val trustManager = Platform.get().platformTrustManager()
    
        val sslContext = SSLContext.getInstance("TLS")
        sslContext.init(arrayOf(keyManager), arrayOf(trustManager), SecureRandom())
    
        val client =
          OkHttpClient.Builder()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  4. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .heldCertificate(certificate, intermediate.certificate)
            .build()
        assertPrivateKeysEquals(
          certificate.keyPair.private,
          handshakeCertificates.keyManager.getPrivateKey("private"),
        )
        assertThat(handshakeCertificates.keyManager.getCertificateChain("private").toList())
          .isEqualTo(listOf(certificate.certificate, intermediate.certificate))
      }
    
      @Test fun platformTrustedCertificates() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. okhttp-tls/api/okhttp-tls.api

    }
    
    public final class okhttp3/tls/HandshakeCertificates {
    	public final fun -deprecated_keyManager ()Ljavax/net/ssl/X509KeyManager;
    	public final fun -deprecated_trustManager ()Ljavax/net/ssl/X509TrustManager;
    	public synthetic fun <init> (Ljavax/net/ssl/X509KeyManager;Ljavax/net/ssl/X509TrustManager;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public final fun keyManager ()Ljavax/net/ssl/X509KeyManager;
    	public final fun sslContext ()Ljavax/net/ssl/SSLContext;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Feb 26 19:17:33 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

              emptyList(),
            )
          val sslContext = SSLContext.getInstance("TLS")
          sslContext.init(
            arrayOf<KeyManager>(keyManager),
            arrayOf<TrustManager>(trustManager),
            SecureRandom(),
          )
          sslContext.socketFactory
        } catch (e: GeneralSecurityException) {
          throw AssertionError(e)
        }
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. cmd/kms-handlers.go

    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    
    	if _, ok := GlobalKMS.(kms.KeyManager); !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	metrics, err := GlobalKMS.Metrics(ctx)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val parse: HttpUrl? = HttpUrl.parse("")
      }
    
      @Test @Disabled
      fun handshakeCertificates() {
        val handshakeCertificates = HandshakeCertificates.Builder().build()
        val keyManager: X509KeyManager = handshakeCertificates.keyManager()
        val trustManager: X509TrustManager = handshakeCertificates.trustManager()
      }
    
      @Test @Disabled
      fun handshakeCertificatesBuilder() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import java.io.IOException
    import java.security.SecureRandom
    import java.security.cert.X509Certificate
    import javax.net.ssl.KeyManager
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManager
    import kotlin.test.assertFailsWith
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.8K bytes
    - Viewed (0)
  10. docs/changelogs/upgrading_to_okhttp_4.md

     * **Dispatcher**: executorService
     * **FormBody**: size
     * **Handshake**: cipherSuite, localCertificates, localPrincipal, peerCertificates, peerPrincipal,
       tlsVersion
     * **HandshakeCertificates**: keyManager, trustManager
     * **Headers**: size
     * **HeldCertificate**: certificate, keyPair
     * **HttpLoggingInterceptor**: level
     * **HttpUrl**: encodedFragment, encodedPassword, encodedPath, encodedPathSegments, encodedQuery,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
Back to top