- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 415 for publicKey (0.16 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/SignatureVerificationFailure.java
PGPPublicKey publicKey = error.publicKey; switch (error.kind) { case PASSED_NOT_TRUSTED: appendKeyDetails(sb, publicKey); sb.append("and passed verification but the key isn't in your trusted keys list."); break; case FAILED: appendKeyDetails(sb, publicKey); sb.append("but signature didn't match");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 4.8K bytes - Viewed (0) -
src/crypto/ecdh/ecdh_test.go
"regexp" "strings" "testing" "golang.org/x/crypto/chacha20" ) // Check that PublicKey and PrivateKey implement the interfaces documented in // crypto.PublicKey and crypto.PrivateKey. var _ interface { Equal(x crypto.PublicKey) bool } = &ecdh.PublicKey{} var _ interface { Public() crypto.PublicKey Equal(x crypto.PrivateKey) bool } = &ecdh.PrivateKey{} func TestECDH(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 18K bytes - Viewed (0) -
src/crypto/ecdh/nist.go
func (c *nistCurve[Point]) NewPublicKey(key []byte) (*PublicKey, error) { // Reject the point at infinity and compressed encodings. if len(key) == 0 || key[0] != 4 { return nil, errors.New("crypto/ecdh: invalid public key") } k := &PublicKey{ curve: c, publicKey: append([]byte{}, key...), } if boring.Enabled { bk, err := boring.NewPublicKeyECDH(c.name, k.publicKey) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 8.1K bytes - Viewed (0) -
src/crypto/rsa/rsa_test.go
if err == nil { err = VerifyPKCS1v15(&priv.PublicKey, crypto.SHA256, hash[:], sig) if err != nil { t.Errorf("VerifyPKCS1v15: %v", err) } sig[1] ^= 0x80 err = VerifyPKCS1v15(&priv.PublicKey, crypto.SHA256, hash[:], sig) if err == nil { t.Errorf("VerifyPKCS1v15 success for tampered signature") } sig[1] ^= 0x80 hash[1] ^= 0x80 err = VerifyPKCS1v15(&priv.PublicKey, crypto.SHA256, hash[:], sig)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:55:41 UTC 2024 - 30.9K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
func (priv *PrivateKey) Public() crypto.PublicKey { return &priv.PublicKey } // Equal reports whether priv and x have the same value. // // See [PublicKey.Equal] for details on how Curve is compared. func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool { xx, ok := x.(*PrivateKey) if !ok { return false } return priv.PublicKey.Equal(&xx.PublicKey) && bigIntEqual(priv.D, xx.D) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0) -
pkg/serviceaccount/openidmetadata.go
} return &keys, nil } func jwkFromPublicKey(publicKey crypto.PublicKey) (*jose.JSONWebKey, error) { alg, err := algorithmFromPublicKey(publicKey) if err != nil { return nil, err } keyID, err := keyIDFromPublicKey(publicKey) if err != nil { return nil, err } jwk := &jose.JSONWebKey{ Algorithm: string(alg), Key: publicKey, KeyID: keyID, Use: "sig", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 12 00:23:31 UTC 2020 - 9.4K bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyDownloadService.java
*/ private void findMatchingKey(long id, PGPPublicKeyRing keyRing, PublicKeyResultBuilder builder) { for (PGPPublicKey publicKey : keyRing) { if (publicKey.getKeyID() == id) { builder.publicKey(publicKey); return; } } } /** * A response was sent from the server. This is a keyring, we need to find
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:49:35 UTC 2024 - 6.9K bytes - Viewed (0) -
src/crypto/dsa/dsa_test.go
} func fromHex(s string) *big.Int { result, ok := new(big.Int).SetString(s, 16) if !ok { panic(s) } return result } func TestSignAndVerify(t *testing.T) { priv := PrivateKey{ PublicKey: PublicKey{ Parameters: Parameters{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 15 21:04:43 UTC 2019 - 4.7K bytes - Viewed (0) -
src/crypto/x509/boring.go
return true } // The key must be RSA 2048, RSA 3072, RSA 4096, // or ECDSA P-256, P-384, P-521. switch k := c.PublicKey.(type) { default: return false case *rsa.PublicKey: if size := k.N.BitLen(); size != 2048 && size != 3072 && size != 4096 { return false } case *ecdsa.PublicKey: if k.Curve != elliptic.P256() && k.Curve != elliptic.P384() && k.Curve != elliptic.P521() { return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 993 bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyServiceChain.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.9K bytes - Viewed (0)