Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for CertInfo (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. api/go1.11.txt

    pkg syscall (windows-386), type CertChainPolicyStatus struct, ExtraPolicyStatus Pointer
    pkg syscall (windows-386), type CertContext struct, CertInfo *CertInfo
    pkg syscall (windows-386), type CertInfo struct
    pkg syscall (windows-386), type CertRevocationCrlInfo struct
    pkg syscall (windows-386), type CertRevocationInfo struct, CrlInfo *CertRevocationCrlInfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 22 03:48:56 UTC 2018
    - 25K bytes
    - Viewed (0)
  7. 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)
  8. api/except.txt

    pkg syscall (windows-386), type CertChainPolicyPara struct, ExtraPolicyPara uintptr
    pkg syscall (windows-386), type CertChainPolicyStatus struct, ExtraPolicyStatus uintptr
    pkg syscall (windows-386), type CertContext struct, CertInfo uintptr
    pkg syscall (windows-386), type CertRevocationInfo struct, CrlInfo uintptr
    pkg syscall (windows-386), type CertRevocationInfo struct, OidSpecificInfo uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top