Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldReject (0.12 sec)

  1. security/pkg/nodeagent/test/mock/caserver.go

    	s.faultInjectLock.Lock()
    	s.rejectCSR = reject
    	s.faultInjectLock.Unlock()
    	if reject {
    		caServerLog.Info("force CA server to return error to CSR")
    	}
    }
    
    func (s *CAServer) shouldReject() bool {
    	var reject bool
    	s.faultInjectLock.Lock()
    	reject = s.rejectCSR
    	s.faultInjectLock.Unlock()
    	return reject
    }
    
    // SendEmptyCert force CA server send empty cert chain.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top