Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CertInfo (0.29 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/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)
  3. 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)
  4. 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)
  5. 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)
Back to top