Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 150 for publicKey (0.17 sec)

  1. cmd/kubeadm/app/phases/certs/certs_test.go

    				"sa.pub":             publicKey,
    				"sa.key":             key,
    				"etcd/ca.crt":        caCert,
    				"etcd/ca.key":        caKey,
    			},
    		},
    		{
    			name: "missing ca.crt",
    			files: certstestutil.PKIFiles{
    				"ca.key":             caKey,
    				"front-proxy-ca.crt": caCert,
    				"front-proxy-ca.key": caKey,
    				"sa.pub":             publicKey,
    				"sa.key":             key,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server.go

    	c.scts = certificate.SignedCertificateTimestamps
    
    	if len(certs) > 0 {
    		switch certs[0].PublicKey.(type) {
    		case *ecdsa.PublicKey, *rsa.PublicKey, ed25519.PublicKey:
    		default:
    			c.sendAlert(alertUnsupportedCertificate)
    			return fmt.Errorf("tls: client certificate contains an unsupported public key of type %T", certs[0].PublicKey)
    		}
    	}
    
    	if c.config.VerifyPeerCertificate != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/crypto/ecdsa/ecdsa_noasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !s390x || purego
    
    package ecdsa
    
    import "io"
    
    func verifyAsm(pub *PublicKey, hash []byte, sig []byte) error {
    	return errNoAsm
    }
    
    func signAsm(priv *PrivateKey, csprng io.Reader, hash []byte) (sig []byte, err error) {
    	return nil, errNoAsm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 413 bytes
    - Viewed (0)
  4. platforms/software/security/src/main/java/org/gradle/security/internal/KeyringFilePublicKeyService.java

                Iterator<PGPPublicKey> pkIt = keyring.getPublicKeys();
                while (pkIt.hasNext()) {
                    PGPPublicKey key = pkIt.next();
                    if (key.getKeyID() == keyId) {
                        builder.publicKey(key);
                    }
                }
            }
        }
    
        @Override
        public void findByFingerprint(byte[] bytes, PublicKeyResultBuilder builder) {
            Fingerprint fingerprint = Fingerprint.wrap(bytes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SimpleKeyRing.groovy

    import org.gradle.plugins.signing.type.pgp.ArmoredSignatureType
    
    @CompileStatic
    @Canonical
    class SimpleKeyRing {
        final String name
        final PGPSecretKey secretKey
        final PGPPublicKey publicKey
        final String password
    
        void writePublicKeyRingTo(File file) {
            def asciiArmored = file.name.endsWith(".keys")
            file.newOutputStream().withCloseable {stream ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. cmd/sftp-server.go

    }
    
    func sshPubKeyAuth(c ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error) {
    	return authenticateSSHConnection(c, key, nil)
    }
    
    func sshPasswordAuth(c ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error) {
    	return authenticateSSHConnection(c, nil, pass)
    }
    
    func authenticateSSHConnection(c ssh.ConnMetadata, key ssh.PublicKey, pass []byte) (*ssh.Permissions, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        /**
         * Sets the public/private key pair used for this certificate. If unset a key pair will be
         * generated.
         */
        fun keyPair(
          publicKey: PublicKey,
          privateKey: PrivateKey,
        ) = apply {
          keyPair(KeyPair(publicKey, privateKey))
        }
    
        /**
         * Set the certificate that will issue this certificate. If unset the certificate will be
         * self-signed.
         */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/WriteDependencyVerificationFile.java

            Set<String> publicKeys,
            @Nullable DependencyVerificationConfiguration.KeyringFormat keyringFormat
        ) throws IOException {
            List<PGPPublicKeyRing> existingRings = loadExistingKeyRing(existingKeyring);
            PGPPublicKeyRingListBuilder builder = new PGPPublicKeyRingListBuilder();
            for (String publicKey : publicKeys) {
                if (publicKey.length() <= 16) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. 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)
  10. src/crypto/rsa/pkcs1v15.go

    	em, err := pkcs1v15ConstructEM(&priv.PublicKey, hash, hashed)
    	if err != nil {
    		return nil, err
    	}
    
    	if boring.Enabled {
    		bkey, err := boringPrivateKey(priv)
    		if err != nil {
    			return nil, err
    		}
    		return boring.SignRSAPKCS1v15(bkey, hash, hashed)
    	}
    
    	return decrypt(priv, em, withCheck)
    }
    
    func pkcs1v15ConstructEM(pub *PublicKey, hash crypto.Hash, hashed []byte) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top