Module: TLS

Defined in:
lib/tls.rb

Overview

Constants and types required by CertificateTransparency, which come from the core TLS specs.

Defined Under Namespace

Classes: DigitallySigned, Opaque

Constant Summary collapse

HashAlgorithm =

RFC5246 s7.4.1.4.1 (I shit you not, five levels of headings)

{ :none   => 0,
  :md5    => 1,
  :sha1   => 2,
  :sha224 => 3,
  :sha256 => 4,
  :sha384 => 5,
  :sha512 => 6
}
SignatureAlgorithm =

RFC5246 s7.4.1.4.1

{ :anonymous => 0,
  :rsa       => 1,
  :dsa       => 2,
  :ecdsa     => 3
}