Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,277 for currentCA (0.16 sec)

  1. pkg/controller/certificates/signer/ca_provider.go

    		RawKey:  keyPEM,
    
    		Certificate: certs[0],
    		PrivateKey:  priv,
    	}
    	p.caValue.Store(ca)
    
    	return nil
    }
    
    // currentCA provides the current value of the CA.
    // It always check for a stale value.  This is cheap because it's all an in memory cache of small slices.
    func (p *caProvider) currentCA() (*authority.CertificateAuthority, error) {
    	certPEM, keyPEM := p.caLoader.CurrentCertKeyContent()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 16 18:33:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  2. pkg/test/csrctrl/signer/ca_provider.go

    		PrivateKey:  priv,
    		Backdate:    5 * time.Minute,
    	}
    	p.caValue.Store(ca)
    
    	return nil
    }
    
    // currentCA provides the current value of the CA.
    // It always check for a stale value.  This is cheap because it's all an in memory cache of small slices.
    func (p *caProvider) currentCA() (*authority.CertificateAuthority, error) {
    	certPEM, cerr := p.currentCertContent()
    	if cerr != nil {
    		return nil, cerr
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 08:14:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. pkg/test/csrctrl/signer/signer.go

    	}
    	return ret, nil
    }
    
    func (s *Signer) Sign(x509cr *x509.CertificateRequest, usages []capi.KeyUsage, requestedLifetime time.Duration, appendRootCert bool) ([]byte, error) {
    	currCA, err := s.caProvider.currentCA()
    	if err != nil {
    		return nil, err
    	}
    	der, err := currCA.Sign(x509cr.Raw, authority.PermissiveSigningPolicy{
    		TTL:    requestedLifetime,
    		Usages: usages,
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 03 18:57:19 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. operator/pkg/helmreconciler/testdata/current.yaml

    Vincent <******@****.***> 1603165005 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 20 03:36:45 UTC 2020
    - 295 bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/get-current-user.md

    jaystone776 <******@****.***> 1711838806 +0800
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:46:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/test/cmd/testdata/init/current-component-config.yaml

    Lubomir I. Ivanov <******@****.***> 1617148903 +0300
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 20 00:47:27 UTC 2021
    - 135 bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/security/get-current-user.md

    Sho Nakamura <******@****.***> 1706466995 +0900
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:36:35 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/get-current-user.md

    LeeeeT <******@****.***> 1680341164 +0300
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/security/get-current-user.md

    Nils Lindemann <******@****.***> 1713469999 +0200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/get-current-user.md

    # Get Current User
    
    In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="11"
        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top