- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for rawCerts (0.08 sec)
-
pkg/test/csrctrl/signer/ca_provider.go
} priv, ok := key.(crypto.Signer) if !ok { return fmt.Errorf("error reading CA key file %q: key did not implement crypto.Signer", p.caLoader.KeyFile) } ca := &authority.CertificateAuthority{ RawCert: certPEM, RawKey: keyPEM, Certificate: certs[0], PrivateKey: priv, Backdate: 5 * time.Minute, } p.caValue.Store(ca) return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 27 08:14:39 UTC 2021 - 4.4K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
secret, err := builder.Build() if err != nil { return SecretItem{}, fmt.Errorf("error building secret: %v", err) } return secret, nil } func secretMetaFromCert(rawCert []byte) (SecretMeta, error) { block, _ := pem.Decode(rawCert) if block == nil { return SecretMeta{}, fmt.Errorf("failed to parse certificate PEM") } cert, err := x509.ParseCertificate(block.Bytes) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 06 15:14:48 UTC 2023 - 6.6K bytes - Viewed (0)