- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for publicKey (0.05 sec)
-
cmd/test-utils_test.go
rsaBits := 2048 if len(host) == 0 { return nil, nil, fmt.Errorf("Missing host parameter") } publicKey := func(priv any) any { switch k := priv.(type) { case *rsa.PrivateKey: return &k.PublicKey case *ecdsa.PrivateKey: return &k.PublicKey default: return nil } } pemBlockForKey := func(priv any) *pem.Block { switch k := priv.(type) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
int count = 0; while (contains(iterator, element)) { // Since it lives in the same class, we know contains gets to the element and then stops, // though that isn't currently publicly documented. count++; } return count; } /** * Returns an iterator that cycles indefinitely over the elements of {@code iterable}. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0)