- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for publicKey (0.28 sec)
-
platforms/software/security/src/test/groovy/org/gradle/security/internal/SecuritySupportSpec.groovy
keyrings.forEach { keyRing -> keyRing.publicKeys.forEachRemaining { publicKey -> assert publicKey.getUserAttributes().size() == 0 assert publicKey.signatures.size() == publicKey.keySignatures.size() } assert keyRing.publicKey.userIDs.size() <= 1 } keyrings[0].publicKey.userIDs[0] == "Gradle Inc. <******@****.***>"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 2.5K bytes - Viewed (0) -
src/crypto/ecdh/ecdh.go
} k.publicKey = &PublicKey{ curve: k.curve, publicKey: kpub.Bytes(), boring: kpub, } } else { k.publicKey = k.curve.privateKeyToPublicKey(k) } }) return k.publicKey } // Public implements the implicit interface of all standard library private // keys. See the docs of [crypto.PrivateKey]. func (k *PrivateKey) Public() crypto.PublicKey { return k.PublicKey()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 6.4K bytes - Viewed (0) -
src/crypto/ecdh/x25519.go
if len(key) != x25519PublicKeySize { return nil, errors.New("crypto/ecdh: invalid public key") } return &PublicKey{ curve: c, publicKey: append([]byte{}, key...), }, nil } func (c *x25519Curve) ecdh(local *PrivateKey, remote *PublicKey) ([]byte, error) { out := make([]byte, x25519SharedSecretSize) x25519ScalarMult(out, local.privateKey, remote.publicKey) if isZero(out) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 3.1K bytes - Viewed (0) -
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/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) -
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/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) -
src/crypto/x509/pkcs1.go
if priv.N.Sign() <= 0 || priv.D.Sign() <= 0 || priv.P.Sign() <= 0 || priv.Q.Sign() <= 0 { return nil, errors.New("x509: private key contains zero or negative value") } key := new(rsa.PrivateKey) key.PublicKey = rsa.PublicKey{ E: priv.E, N: priv.N, } key.D = priv.D key.Primes = make([]*big.Int, 2+len(priv.AdditionalPrimes)) key.Primes[0] = priv.P key.Primes[1] = priv.Q for i, a := range priv.AdditionalPrimes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyResultBuilder.java
import org.bouncycastle.openpgp.PGPPublicKey; import org.bouncycastle.openpgp.PGPPublicKeyRing; public interface PublicKeyResultBuilder { void keyRing(PGPPublicKeyRing keyring); void publicKey(PGPPublicKey publicKey);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 884 bytes - Viewed (0)