Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
11 righe
400 B
11 righe
400 B
#!/usr/bin/env ruby
|
|
$:.unshift File.expand_path File.join File.dirname(__FILE__), '../lib'
|
|
require 'rubygems'
|
|
require 'bundler/setup'
|
|
require 'cryptcheck'
|
|
|
|
puts 'Supported methods'
|
|
puts OpenSSL::SSL::SSLContext::METHODS.select { |m| CryptCheck::Tls::Server::EXISTING_METHODS.include? m }.sort.join ' '
|
|
|
|
puts 'Supported ciphers'
|
|
puts CryptCheck::Tls::Cipher.list.collect { |c| c.name }.sort.join ' '
|
|
|