Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 415 for publicKey (0.15 sec)

  1. src/crypto/x509/x509_test_import.go

    		},
    		NotBefore: time.Unix(1000, 0),
    		NotAfter:  time.Unix(100000, 0),
    		KeyUsage:  x509.KeyUsageCertSign,
    	}
    
    	if _, err = x509.CreateCertificate(rand.Reader, &template, &template, &rsaPriv.PublicKey, rsaPriv); err != nil {
    		panic("failed to create certificate with basic imports: " + err.Error())
    	}
    }
    
    var pemPrivateKey = testingKey(`-----BEGIN RSA TESTING KEY-----
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoErrorsIntegrationTest.groovy

                .assertHasCause("Could not connect to SFTP server at ${ivySftpRepo.serverUri}")
                .assertHasCause("Auth fail for methods 'password,keyboard-interactive,publickey'")
        }
    
        void "resolve dependencies from a SFTP Ivy repository with unsupported password authentication"() {
            given:
            server.withPasswordAuthenticationDisabled()
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 11:07:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

        val issuer = cert.issuerX500Principal
        val subjectCaCerts = subjectToCaCerts[issuer] ?: return null
    
        return subjectCaCerts.firstOrNull {
          try {
            cert.verify(it.publicKey)
            return@firstOrNull true
          } catch (_: Exception) {
            return@firstOrNull false
          }
        }
      }
    
      override fun equals(other: Any?): Boolean {
        return other === this ||
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/AbstractSignatureVerificationIntegrationTest.groovy

            // This loop is just to avoid some flakiness in tests which
            // expect error messages in a certain order
            while (new BigInteger(Fingerprint.of(ring.publicKey).toString(), 16) < minId) {
                ring = createKeyRing()
            }
            ring
        }
    
        private SimpleKeyRing createKeyRing() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 13:00:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/crypto/rsa/example_test.go

    	// least-strong hash function that should be used for this at the time
    	// of writing (2016).
    	hashed := sha256.Sum256(message)
    
    	err := rsa.VerifyPKCS1v15(&rsaPrivateKey.PublicKey, crypto.SHA256, hashed[:], signature)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "Error from verification: %s\n", err)
    		return
    	}
    
    	// signature is a valid signature of message from the public key.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:52:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. security/pkg/nodeagent/caclient/providers/mock/mockcaclient.go

    	csr, err := util.ParsePemEncodedCSR(csrPEM)
    	if err != nil {
    		return nil, fmt.Errorf("csr sign error: %v", err)
    	}
    	subjectIDs := []string{"test"}
    	certBytes, err := util.GenCertFromCSR(csr, signingCert, csr.PublicKey, *signingKey, subjectIDs, c.certLifetime, false)
    	if err != nil {
    		return nil, fmt.Errorf("csr sign error: %v", err)
    	}
    
    	block := &pem.Block{
    		Type:  "CERTIFICATE",
    		Bytes: certBytes,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/crypto/tls/ech.go

    type echExtension struct {
    	Type uint16
    	Data []byte
    }
    
    type echConfig struct {
    	raw []byte
    
    	Version uint16
    	Length  uint16
    
    	ConfigID             uint8
    	KemID                uint16
    	PublicKey            []byte
    	SymmetricCipherSuite []echCipher
    
    	MaxNameLength uint8
    	PublicName    []byte
    	Extensions    []echExtension
    }
    
    var errMalformedECHConfig = errors.New("tls: malformed ECHConfigList")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       *   privateKeyAlgorithm       PrivateKeyAlgorithmIdentifier,
       *   privateKey                PrivateKey,
       *   attributes            [0] Attributes OPTIONAL,
       *   ...,
       *   [[2: publicKey        [1] PublicKey OPTIONAL ]],
       *   ...
       * }
       *
       * PrivateKeyInfo ::= OneAsymmetricKey
       * ```
       */
      internal val privateKeyInfo: BasicDerAdapter<PrivateKeyInfo> =
        Adapters.sequence(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. okhttp-tls/api/okhttp-tls.api

    	public final fun ecdsa256 ()Lokhttp3/tls/HeldCertificate$Builder;
    	public final fun keyPair (Ljava/security/KeyPair;)Lokhttp3/tls/HeldCertificate$Builder;
    	public final fun keyPair (Ljava/security/PublicKey;Ljava/security/PrivateKey;)Lokhttp3/tls/HeldCertificate$Builder;
    	public final fun organizationalUnit (Ljava/lang/String;)Lokhttp3/tls/HeldCertificate$Builder;
    	public final fun rsa2048 ()Lokhttp3/tls/HeldCertificate$Builder;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/HtmlDependencyVerificationReportRenderer.java

                errors.forEach((keyId, error) -> {
                    StringBuilder sb = new StringBuilder();
                    PGPPublicKey publicKey = error.getPublicKey();
                    if (publicKey != null) {
                        svf.appendKeyDetails(sb, publicKey);
                    } else {
                        sb.append("(not found)");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top