- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for publicKey (0.31 sec)
-
platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SigningFixtures.groovy
def keyring = new File(keyringsDir, "pubring.gpg") PGPPublicKey publicKey = null keyring.withInputStream { new PGPPublicKeyRingCollection(it, new BcKeyFingerprintCalculator()).each { publicKey = it.publicKey } } return publicKey } static PGPSecretKey readAsciiArmoredSecretKey(String resource) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildCachingKeyService.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:44:56 UTC 2024 - 14.1K bytes - Viewed (0) -
src/crypto/ed25519/ed25519.go
SeedSize = 32 ) // PublicKey is the type of Ed25519 public keys. type PublicKey []byte // Any methods implemented on PublicKey might need to also be implemented on // PrivateKey, as the latter embeds the former and will expose its methods. // Equal reports whether pub and x have the same value. func (pub PublicKey) Equal(x crypto.PublicKey) bool { xx, ok := x.(PublicKey) if !ok { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 07:31:22 UTC 2024 - 29.5K bytes - Viewed (0) -
src/crypto/tls/auth.go
// signature algorithm negotiation. func legacyTypeAndHashFromPublicKey(pub crypto.PublicKey) (sigType uint8, hash crypto.Hash, err error) { switch pub.(type) { case *rsa.PublicKey: return signaturePKCS1v15, crypto.MD5SHA1, nil case *ecdsa.PublicKey: return signatureECDSA, crypto.SHA1, nil case ed25519.PublicKey: // RFC 8422 specifies support for Ed25519 in TLS 1.0 and 1.1,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 10K 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/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) -
src/crypto/rsa/rsa.go
// PrivateKey, as the latter embeds the former and will expose its methods. // Size returns the modulus size in bytes. Raw signatures and ciphertexts // for or by this public key will have the same size. func (pub *PublicKey) Size() int { return (pub.N.BitLen() + 7) / 8 } // Equal reports whether pub and x have the same value. func (pub *PublicKey) Equal(x crypto.PublicKey) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 23.4K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
testAllCurves(t, testKeyGeneration) } func testKeyGeneration(t *testing.T, c elliptic.Curve) { priv, err := GenerateKey(c, rand.Reader) if err != nil { t.Fatal(err) } if !c.IsOnCurve(priv.PublicKey.X, priv.PublicKey.Y) { t.Errorf("public key invalid: %s", err) } } func TestSignAndVerify(t *testing.T) { testAllCurves(t, testSignAndVerify) } func testSignAndVerify(t *testing.T, c elliptic.Curve) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0)