Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for publicKey (0.23 sec)

  1. src/crypto/x509/x509.go

    // ParsePKIXPublicKey parses a public key in PKIX, ASN.1 DER form. The encoded
    // public key is a SubjectPublicKeyInfo structure (see RFC 5280, Section 4.1).
    //
    // It returns a *[rsa.PublicKey], *[dsa.PublicKey], *[ecdsa.PublicKey],
    // [ed25519.PublicKey] (not a pointer), or *[ecdh.PublicKey] (for X25519).
    // More types might be supported in the future.
    //
    // This kind of key is commonly encoded in PEM blocks of type "PUBLIC KEY".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy

        def "can verify classified artifacts downloaded in previous builds (stop in between = #stopInBetween)"() {
            def keyring = newKeyRing()
            keyServerFixture.registerPublicKey(keyring.publicKey)
            def pkId = Fingerprint.of(keyring.publicKey)
    
            given:
            terseConsoleOutput(false)
            javaLibrary()
            uncheckedModule("org", "foo", "1.0") {
                artifact(classifier: 'classy')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 75.1K bytes
    - Viewed (0)
  3. src/crypto/tls/common.go

    				return errors.New("client doesn't support certificate curve")
    			}
    			ecdsaCipherSuite = true
    		case ed25519.PublicKey:
    			if vers < VersionTLS12 || len(chi.SignatureSchemes) == 0 {
    				return errors.New("connection doesn't support Ed25519")
    			}
    			ecdsaCipherSuite = true
    		case *rsa.PublicKey:
    		default:
    			return supportsRSAFallback(unsupportedCertificateError(c))
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_client_test.go

    	clientWCC := &writeCountingConn{Conn: c}
    	serverWCC := &writeCountingConn{Conn: s}
    
    	serverConfig := testConfig.Clone()
    
    	// Cause a signature-time error
    	brokenKey := rsa.PrivateKey{PublicKey: testRSAPrivateKey.PublicKey}
    	brokenKey.D = big.NewInt(42)
    	serverConfig.Certificates = []Certificate{{
    		Certificate: [][]byte{testRSACertificate},
    		PrivateKey:  &brokenKey,
    	}}
    
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_test.go

    		supportedVersions:  []uint16{VersionTLS13},
    		cipherSuites:       []uint16{TLS_CHACHA20_POLY1305_SHA256},
    		compressionMethods: []uint8{compressionNone},
    		keyShares:          []keyShare{{group: X25519, data: pk.PublicKey().Bytes()}},
    		supportedCurves:    []CurveID{CurveP256},
    	}
    	testClientHelloFailure(t, testConfig, clientHello, "client sent key share for group it does not support")
    }
    
    func TestHandshakeServerALPN(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	rsaBits := 2048
    
    	if len(host) == 0 {
    		return nil, nil, fmt.Errorf("Missing host parameter")
    	}
    
    	publicKey := func(priv interface{}) interface{} {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &k.PublicKey
    		case *ecdsa.PrivateKey:
    			return &k.PublicKey
    		default:
    			return nil
    		}
    	}
    
    	pemBlockForKey := func(priv interface{}) *pem.Block {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
     * package will refer to the class. Plus, @ParametricNullness is only a temporary workaround,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Synchronized.java

     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
     * package will refer to the class. Plus, @ParametricNullness is only a temporary workaround,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

        assertFalse(powerSet(makeSetOfZeroToTwentyNine()).contains(ImmutableSet.of(30)));
      }
    
      private static Set<Integer> makeSetOfZeroToTwentyNine() {
        // TODO: use Range once it's publicly available
        Set<Integer> zeroToTwentyNine = newHashSet();
        for (int i = 0; i < 30; i++) {
          zeroToTwentyNine.add(i);
        }
        return zeroToTwentyNine;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

        int count = 0;
        while (contains(iterator, element)) {
          // Since it lives in the same class, we know contains gets to the element and then stops,
          // though that isn't currently publicly documented.
          count++;
        }
        return count;
      }
    
      /**
       * Returns an iterator that cycles indefinitely over the elements of {@code iterable}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
Back to top