- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 202 for publicKey (0.29 sec)
-
docs/debugging/inspect/main.go
os.Exit(1) } // dump public key to file publicKeyBytes := x509.MarshalPKCS1PublicKey(&privatekey.PublicKey) if err != nil { fmt.Printf("error when dumping publickey: %s n", err) os.Exit(1) } publicKeyBlock := &pem.Block{ Type: "PUBLIC KEY", Bytes: publicKeyBytes, } publicPem, err := os.Create("support_public.pem") if err != nil { fmt.Printf("error when create public.pem: %s n", err)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0) -
src/crypto/tls/handshake_client.go
} } switch certs[0].PublicKey.(type) { case *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey: break default: c.sendAlert(alertUnsupportedCertificate) return fmt.Errorf("tls: server's certificate contains an unsupported type of public key: %T", certs[0].PublicKey) } c.activeCertHandles = activeHandles c.peerCertificates = certs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 38.6K bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/security/internal/SecuritySupport.java
} } public static void assertInitialized() { } public static boolean verify(File file, PGPSignature signature, PGPPublicKey publicKey) throws PGPException { signature.init(createContentVerifier(), publicKey); byte[] buffer = new byte[BUFFER]; int len; try (InputStream in = new BufferedInputStream(new FileInputStream(file))) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
* limitations under the License. */ package okhttp3.tls.internal.der import java.math.BigInteger import java.security.GeneralSecurityException import java.security.PublicKey import java.security.Signature import java.security.SignatureException import java.security.cert.CertificateFactory import java.security.cert.X509Certificate import okio.Buffer import okio.ByteString
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)