- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 100 for PUB (0.02 sec)
-
src/crypto/x509/pkcs1.go
return nil, asn1.SyntaxError{Msg: "trailing data"} } if pub.N.Sign() <= 0 || pub.E <= 0 { return nil, errors.New("x509: public key contains zero or negative value") } if pub.E > 1<<31-1 { return nil, errors.New("x509: public key contains large public exponent") } return &rsa.PublicKey{ E: pub.E, N: pub.N, }, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.7K bytes - Viewed (0) -
src/crypto/x509/boring_test.go
pcert = parent.cert pkey = parent.key } else { pcert = tmpl pkey = key } var pub interface{} var desc string switch k := key.(type) { case *rsa.PrivateKey: pub = &k.PublicKey desc = fmt.Sprintf("RSA-%d", k.N.BitLen()) case *ecdsa.PrivateKey: pub = &k.PublicKey desc = "ECDSA-" + k.Curve.Params().Name default: t.Fatalf("invalid key %T", key) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 17:38:47 UTC 2022 - 3.7K bytes - Viewed (0) -
platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublicationTest.groovy
projectDependency.getArtifacts() >> [] projectDependency.getGroup() >> "pub-group" projectDependency.getName() >> "pub-name" projectDependencyResolver.resolveComponent(ModuleVersionIdentifier, projectDependency.identityPath) >> DefaultModuleVersionIdentifier.newId("pub-group", "pub-name", "pub-version") when: publication.from(componentWithDependency(projectDependency))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 01:33:41 UTC 2023 - 24.8K bytes - Viewed (0) -
platforms/software/publish/src/test/groovy/org/gradle/api/publish/internal/DefaultPublicationContainerTest.groovy
given: Publication pub = publication("test") NamedDomainObjectFactory<Publication> factory = Mock() container.registerFactory(Publication, factory) when: container.create("name", Publication) { value = 2 } then: 1 * factory.create("name") >> pub and: container.getByName("test") == pub
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 3.2K bytes - Viewed (0) -
src/crypto/ecdsa/boring.go
} type boringPub struct { key *boring.PublicKeyECDSA orig PublicKey } func boringPublicKey(pub *PublicKey) (*boring.PublicKeyECDSA, error) { b := pubCache.Get(pub) if b != nil && publicKeyEqual(&b.orig, pub) { return b.key, nil } b = new(boringPub) b.orig = copyPublicKey(pub) key, err := boring.NewPublicKeyECDSA(b.orig.Curve.Params().Name, bbig.Enc(b.orig.X), bbig.Enc(b.orig.Y)) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 2.7K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_legacy.go
if err != nil { return false } return VerifyASN1(pub, hash, sig) } func verifyLegacy(pub *PublicKey, hash []byte, sig []byte) bool { rBytes, sBytes, err := parseSignature(sig) if err != nil { return false } r, s := new(big.Int).SetBytes(rBytes), new(big.Int).SetBytes(sBytes) c := pub.Curve N := c.Params().N if r.Sign() <= 0 || s.Sign() <= 0 { return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublicationTest.groovy
} def exclude = Mock(ExcludeRule) and: projectDependencyResolver.resolveComponent(ModuleVersionIdentifier, projectDependency.identityPath) >> DefaultModuleVersionIdentifier.newId("pub-org", "pub-module", "pub-revision") projectDependency.targetConfiguration >> "dep-configuration" projectDependency.artifacts >> [] projectDependency.excludeRules >> [exclude]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 01:33:41 UTC 2023 - 15.3K bytes - Viewed (0) -
src/crypto/tls/auth.go
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/rsa/pkcs1v15.go
func EncryptPKCS1v15(random io.Reader, pub *PublicKey, msg []byte) ([]byte, error) { randutil.MaybeReadByte(random) if err := checkPub(pub); err != nil { return nil, err } k := pub.Size() if len(msg) > k-11 { return nil, ErrMessageTooLong } if boring.Enabled && random == boring.RandReader { bkey, err := boringPublicKey(pub) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:21 UTC 2024 - 12.8K bytes - Viewed (0) -
src/crypto/rsa/boring.go
func init() { pubCache.Register() privCache.Register() } func boringPublicKey(pub *PublicKey) (*boring.PublicKeyRSA, error) { b := pubCache.Get(pub) if b != nil && publicKeyEqual(&b.orig, pub) { return b.key, nil } b = new(boringPub) b.orig = copyPublicKey(pub) key, err := boring.NewPublicKeyRSA(bbig.Enc(b.orig.N), bbig.Enc(big.NewInt(int64(b.orig.E)))) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 3.3K bytes - Viewed (0)