- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for rawCerts (0.17 sec)
-
pkg/test/csrctrl/authority/authority.go
// CertificateAuthority implements a certificate authority that supports policy // based signing. It's used by the signing controller. type CertificateAuthority struct { // RawCert is an optional field to determine if signing cert/key pairs have changed RawCert []byte // RawKey is an optional field to determine if signing cert/key pairs have changed RawKey []byte Certificate *x509.Certificate PrivateKey crypto.Signer
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 28 18:22:37 UTC 2021 - 3K bytes - Viewed (0) -
pkg/controller/certificates/authority/authority.go
// CertificateAuthority implements a certificate authority that supports policy // based signing. It's used by the signing controller. type CertificateAuthority struct { // RawCert is an optional field to determine if signing cert/key pairs have changed RawCert []byte // RawKey is an optional field to determine if signing cert/key pairs have changed RawKey []byte Certificate *x509.Certificate PrivateKey crypto.Signer }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 23 19:36:11 UTC 2021 - 2.5K bytes - Viewed (0) -
pkg/controller/certificates/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.Name()) } ca := &authority.CertificateAuthority{ RawCert: certPEM, RawKey: keyPEM, Certificate: certs[0], PrivateKey: priv, } p.caValue.Store(ca) return nil } // currentCA provides the current value of the CA.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 16 18:33:22 UTC 2021 - 2.8K bytes - Viewed (0) -
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)