Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CSRSign (0.14 sec)

  1. security/pkg/nodeagent/caclient/providers/mock/mockcaclient.go

    	}
    	cl.bundle = bundle
    
    	atomic.StoreUint64(&cl.SignInvokeCount, 0)
    	return &cl, nil
    }
    
    func (c *CAClient) Close() {}
    
    // CSRSign returns the certificate or errors depending on the settings.
    func (c *CAClient) CSRSign(csrPEM []byte, certValidTTLInSec int64) ([]string, error) {
    	atomic.AddUint64(&c.SignInvokeCount, 1)
    	signingCert, signingKey, certChain, rootCert := c.bundle.GetAll()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/caclient/providers/citadel/client.go

    	c.conn = conn
    	c.client = pb.NewIstioCertificateServiceClient(conn)
    	return c, nil
    }
    
    func (c *CitadelClient) Close() {
    	if c.conn != nil {
    		c.conn.Close()
    	}
    }
    
    // CSRSign calls Citadel to sign a CSR.
    func (c *CitadelClient) CSRSign(csrPEM []byte, certValidTTLInSec int64) (res []string, err error) {
    	crMetaStruct := &structpb.Struct{
    		Fields: map[string]*structpb.Value{
    			security.CertSigner: {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top