- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for DecodedLen (0.04 seconds)
-
docs/debugging/inspect/utils.go
// Try PEM if block, _ := pem.Decode(priv); block != nil { return x509.ParsePKCS1PrivateKey(block.Bytes) } // Try base 64 dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv))) if n, err := base64.StdEncoding.Decode(dst, priv); err == nil { return x509.ParsePKCS1PrivateKey(dst[:n]) } // Try Raw, return error return x509.ParsePKCS1PrivateKey(priv) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Nov 02 20:36:38 GMT 2022 - 1.4K bytes - Click Count (0)