code: private static List<SslCipher> getCiphers(String token) {
          List<SslCipher> ciphers;
  
          SslCipher cipher = CIPHERS.get(token);
          if (cipher != null) {
              ciphers = new ArrayList<>(1);
              ciphers.add(cipher);
              return ciphers;
          }
  
          cipher = CIPHER_NICKNAMES.get(token);
          if (cipher != null) {
              ciphers = new ArrayList<>(1);
              ciphers.add(cipher);
              return ciphers;
          }
  
          ciphers = CIPHER_STRENGTHS.get(token);
          if (ciphers != null) {
              return ciphers;
          }
  
          ciphers = CIPHER_KEY_EXCHANGES.get(token);
          if (ciphers != null) {
              return ciphers;
          }
  
          ciphers = CIPHER_AUTHNS.get(token);
          if (ciphers != null) {
              return ciphers;
          }
  
          ciphers = CIPHER_ENCRYPTS.get(token);
          if (ciphers != null) {
              return ciphers;
          }
  
          ciphers = CIPHER_MACS.get(token);
          if (ciphers != null) {
              return ciphers;
          }
  
          ciphers = CIPHER_PROTOCOLS.get(token);
          if (ciphers != null) {
              return ciphers;
          }
  
          if (token.equals("FIPS")) {
              return CIPHER_FIPS;
          }
  
          // If we reach this point, then we don't how to handle this
          // token.  Could be a custom ciphersuite name for some non-standard
          // JSSE provider, so we leave it alone.
  
          cipher = new OtherSslCipher(token);
          ciphers = new ArrayList<>(1);
          ciphers.add(cipher);
          return ciphers;
      }
docs: openssl/ssl/ssl_ciph.c