module SshSig::Serializable

Constants

BEGIN_SIGNATURE
END_SIGNATURE
HASHALG_ALLOWED
MAGIC_PREAMBLE
SIGALG_ALLOWED
SIG_VERSION

Public Instance Methods

hash_algorithm_allowed?(alg) click to toggle source
# File lib/ssh_sig/serializable.rb, line 15
def hash_algorithm_allowed?(alg)
  HASHALG_ALLOWED.any?(alg)
end
signature_algorithm_allowed?(alg) click to toggle source
# File lib/ssh_sig/serializable.rb, line 11
def signature_algorithm_allowed?(alg)
  SIGALG_ALLOWED.any?(alg)
end