- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for encodePem (0.29 sec)
-
security/pkg/pki/util/generate_cert.go
if err != nil { return nil, nil, fmt.Errorf("cert generation fails at X509 cert creation (%v)", err) } pemCert, pemKey, err := encodePem(false, certBytes, priv, options.PKCS8Key) return pemCert, pemKey, err } func publicKey(priv any) any { switch k := priv.(type) { case *rsa.PrivateKey: return &k.PublicKey case *ecdsa.PrivateKey:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 14:34:38 UTC 2023 - 14.2K bytes - Viewed (0) -
src/math/rand/rand_test.go
r.Shuffle(n, func(i, j int) { t.Fatalf("swap called, n=%d i=%d j=%d", n, i, j) }) } } // encodePerm converts from a permuted slice of length n, such as Perm generates, to an int in [0, n!). // See https://en.wikipedia.org/wiki/Lehmer_code. // encodePerm modifies the input slice. func encodePerm(s []int) int { // Convert to Lehmer code. for i, x := range s { r := s[i+1:] for j, y := range r {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
src/math/rand/v2/rand_test.go
r.Shuffle(n, func(i, j int) { t.Fatalf("swap called, n=%d i=%d j=%d", n, i, j) }) } } // encodePerm converts from a permuted slice of length n, such as Perm generates, to an int in [0, n!). // See https://en.wikipedia.org/wiki/Lehmer_code. // encodePerm modifies the input slice. func encodePerm(s []int) int { // Convert to Lehmer code. for i, x := range s { r := s[i+1:] for j, y := range r {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 17.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
"mIE65swMM5/RNhS4aFjez/MwxFNOHaxc9VgCwYPXCLOtdf7AVovdyG0XWgbUXH+NyxKwboE" ).decodeBase64()!! val x509PublicKey = encodeKey( algorithm = RSA_ENCRYPTION, publicKeyBytes = publicKeyBytes, ) val keyFactory = KeyFactory.getInstance("RSA")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0)