- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for CertInfo (0.42 sec)
-
pilot/pkg/xds/sds.go
} return allowedResources } func toEnvoyCaSecret(name string, certInfo *credscontroller.CertInfo) *discovery.Resource { validationContext := &envoytls.CertificateValidationContext{ TrustedCa: &core.DataSource{ Specifier: &core.DataSource_InlineBytes{ InlineBytes: certInfo.Cert, }, }, } if certInfo.CRL != nil { validationContext.Crl = &core.DataSource{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 23:04:36 UTC 2024 - 15.8K bytes - Viewed (0) -
pilot/pkg/credentials/kube/multicluster.go
func (a *AggregateController) GetCertInfo(name, namespace string) (certInfo *credentials.CertInfo, err error) { // Search through all clusters, find first non-empty result var firstError error for _, c := range a.controllers { certInfo, err := c.GetCertInfo(name, namespace) if err != nil { if firstError == nil { firstError = err } } else { return certInfo, nil } } return nil, firstError }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 4.2K bytes - Viewed (0) -
pilot/pkg/credentials/model.go
import ( "istio.io/istio/pkg/cluster" ) // CertInfo wraps a certificate, key, and oscp staple information. type CertInfo struct { // The certificate chain Cert []byte // The private key Key []byte // The oscp staple Staple []byte // Certificate Revocation List information CRL []byte } type Controller interface { GetCertInfo(name, namespace string) (certInfo *CertInfo, err error)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 1.3K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
func (s *CredentialsController) GetCertInfo(name, namespace string) (certInfo *credentials.CertInfo, err error) { k8sSecret := s.secrets.Get(name, namespace) if k8sSecret == nil { return nil, fmt.Errorf("secret %v/%v not found", namespace, name) } return ExtractCertInfo(k8sSecret) } func (s *CredentialsController) GetCaCert(name, namespace string) (certInfo *credentials.CertInfo, err error) { k8sSecret := s.secrets.Get(name, namespace)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets_test.go
t.Run(tt.name, func(t *testing.T) { certInfo, err := sc.GetCertInfo(tt.name, tt.namespace) var actualKey []byte var actualCert []byte var actualStaple []byte var actualCrl []byte if certInfo != nil { actualKey = certInfo.Key actualCert = certInfo.Cert actualStaple = certInfo.Staple actualCrl = certInfo.CRL } if tt.key != string(actualKey) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 18.4K bytes - Viewed (0) -
src/syscall/types_windows.go
OutErrors uint32 OutQLen uint32 DescrLen uint32 Descr [MAXLEN_IFDESCR]byte } type CertInfo struct { // Not implemented } type CertContext struct { EncodingType uint32 EncodedCert *byte Length uint32 CertInfo *CertInfo Store Handle } type CertChainContext struct { Size uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 27.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/types_windows.go
type CryptBitBlob struct { Size uint32 Data *byte UnusedBits uint32 } type CertContext struct { EncodingType uint32 EncodedCert *byte Length uint32 CertInfo *CertInfo Store Handle } type CertChainContext struct { Size uint32 TrustStatus CertTrustStatus ChainCount uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 104.1K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
}) if ctx.Credentials != nil { if certInfo, err := ctx.Credentials.GetCertInfo(secret.Name, secret.Namespace); err != nil { return "", &ConfigError{ Reason: InvalidTLS, Message: fmt.Sprintf("invalid certificate reference %v, %v", objectReferenceString(ref), err), } } else if _, err = tls.X509KeyPair(certInfo.Cert, certInfo.Key); err != nil { return "", &ConfigError{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"CertChainPolicyStatus.ExtraPolicyStatus", Field, 0}, {"CertChainPolicyStatus.Size", Field, 0}, {"CertCloseStore", Func, 0}, {"CertContext", Type, 0}, {"CertContext.CertInfo", Field, 0}, {"CertContext.EncodedCert", Field, 0}, {"CertContext.EncodingType", Field, 0}, {"CertContext.Length", Field, 0}, {"CertContext.Store", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)