Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 291 for mypair (0.1 sec)

  1. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      @Test @Disabled
      fun heldCertificate() {
        val heldCertificate: HeldCertificate = HeldCertificate.Builder().build()
        val certificate: X509Certificate = heldCertificate.certificate()
        val keyPair: KeyPair = heldCertificate.keyPair()
      }
    
      @Test @Disabled
      fun mediaType() {
        val mediaType: MediaType = MediaType.get("")
        val type: String = mediaType.type()
        val subtype: String = mediaType.subtype()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_main_import_path.txt

    # Go test -cover should behave the same way.
    go test -cover .
    stdout 'ok\s+mainwithtest\s+\S+\s+coverage:'
    ! stdout 'ok\s+main\s+.*'
    
    
    -- go.mod --
    module mainwithtest
    
    go 1.20
    -- mymain.go --
    package main
    
    func main() {
    	println("hi mom")
    }
    
    func Mainer() int {
    	return 42
    }
    -- main_test.go --
    package main
    
    import "testing"
    
    func TestCoverage(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. operator/cmd/mesh/testdata/manifest-generate/input/pilot_override_kubernetes.yaml

                    value: |
                      fieldRef:
                        apiVersion: v2
                        fieldPath: metadata.myPath
                  # Deletion of list item
                  - path: spec.template.spec.containers.[name:discovery].env.[name:REVISION]
                  # Deletion of map item
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/dsl/DependencyResultSpecTest.groovy

        }
    
        def "does not match for dependencies other than requested ModuleComponentSelector"() {
            expect:
            !new DependencyResultSpec(notation).isSatisfiedBy(newDependency(TestComponentIdentifiers.newSelector(":myPath"), "org.foo", "foo-core", "1.22"))
    
            where:
            notation << ['1.+']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 04 04:36:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .commonName("pinned intermediate")
            .signedBy(pinnedRoot)
            .build()
        val attackerSwitch =
          HeldCertificate.Builder()
            .serialNumber(5L)
            .keyPair(attackerIntermediate.keyPair) // share keys between compromised CA and leaf!
            .commonName("attacker")
            .addSubjectAlternativeName("attacker.com")
            .signedBy(pinnedIntermediate)
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. cni/README.md

    - CAP_SYS_ADMIN
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/certcontroller.go

    func (s *Server) loadIstiodCert() error {
    	keyCertBundle := s.istiodCertBundleWatcher.GetKeyCertBundle()
    	keyPair, err := tls.X509KeyPair(keyCertBundle.CertPem, keyCertBundle.KeyPem)
    	if err != nil {
    		return fmt.Errorf("istiod loading x509 key pairs failed: %v", err)
    	}
    	for _, c := range keyPair.Certificate {
    		x509Cert, err := x509.ParseCertificates(c)
    		if err != nil {
    			// This can rarely happen, just in case.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishArtifactCustomizationIntegTest.groovy

                def customJar = tasks.register("myJar", Jar) {
                    archiveClassifier = 'classy'
                }
                publications {
                    mavenCustom(MavenPublication) {
                        artifact(customJar)
                    }
                }
            """)
    
            when:
            succeeds(":publish")
    
            then:
            executedAndNotSkipped ":myJar", ":publish"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 06:46:01 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

          val chain = arrayOfNulls<Certificate>(1 + intermediates.size)
          chain[0] = heldCertificate.certificate
          intermediates.copyInto(chain, 1)
          keyStore.setKeyEntry("private", heldCertificate.keyPair.private, password, chain)
        }
    
        val factory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm())
        factory.init(keyStore, password)
        val result = factory.keyManagers!!
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SigningFixtures.groovy

            PGPKeyPair keyPair = new PGPKeyPair(keyWithAttributes, signingKeyPair.privateKey);
    
            def encryptionSubpacketGenerator = new PGPSignatureSubpacketGenerator()
            encryptionSubpacketGenerator.setKeyFlags(false, KeyFlags.ENCRYPT_COMMS | KeyFlags.ENCRYPT_STORAGE)
    
            def generator = new PGPKeyRingGenerator(
                PGPPublicKey.RSA_SIGN,
                keyPair,
                userId,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top