Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for possibleCiphers (0.86 sec)

  1. pilot/pkg/bootstrap/options.go

    func TLSCipherSuites(cipherNames []string) ([]uint16, error) {
    	if len(cipherNames) == 0 {
    		return nil, nil
    	}
    	ciphersIntSlice := make([]uint16, 0)
    	possibleCiphers := allCiphers()
    	for _, cipher := range cipherNames {
    		intValue, ok := possibleCiphers[cipher]
    		if !ok {
    			return nil, fmt.Errorf("cipher suite %s not supported or doesn't exist", cipher)
    		}
    		ciphersIntSlice = append(ciphersIntSlice, intValue)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top