- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for bytesToPublicKey (0.07 sec)
-
cmd/admin-handlers.go
return nil case ci := <-resultCh: out, err := json.MarshalIndent(ci, "", " ") if err != nil { bugLogIf(ctx, err) return nil } return out } } func bytesToPublicKey(pub []byte) (*rsa.PublicKey, error) { block, _ := pem.Decode(pub) if block != nil { pub = block.Bytes } key, err := x509.ParsePKCS1PublicKey(pub) if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0)