- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MarshalECPrivateKey (0.23 sec)
-
cmd/test-utils_test.go
switch k := priv.(type) { case *rsa.PrivateKey: return &pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(k)} case *ecdsa.PrivateKey: b, err := x509.MarshalECPrivateKey(k) if err != nil { fmt.Fprintf(os.Stderr, "Unable to marshal ECDSA private key: %v", err) os.Exit(2) } return &pem.Block{Type: "EC PRIVATE KEY", Bytes: b} default: return nil
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:06:57 GMT 2024 - 75.7K bytes - Viewed (0) -
api/go1.2.txt
pkg crypto/tls, const VersionTLS12 = 771 pkg crypto/tls, const VersionTLS12 ideal-int pkg crypto/tls, type Config struct, MaxVersion uint16 pkg crypto/tls, type Config struct, MinVersion uint16 pkg crypto/x509, func MarshalECPrivateKey(*ecdsa.PrivateKey) ([]uint8, error) pkg crypto/x509, type Certificate struct, CRLDistributionPoints []string pkg crypto/x509, type Certificate struct, Extensions []pkix.Extension
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2)