Class: Sandal::Sig::RS512
Overview
The RSA-SHA512 signing algorithm.
Constant Summary collapse
- NAME =
The JWA name of the algorithm.
"RS512"
Instance Attribute Summary
Attributes inherited from RS
Instance Method Summary collapse
-
#initialize(key) ⇒ RS512
constructor
Creates a new instance.
Methods inherited from RS
Constructor Details
permalink #initialize(key) ⇒ RS512
Creates a new instance.
99 100 101 |
# File 'lib/sandal/sig/rs.rb', line 99 def initialize(key) super(NAME, 512, make_key(key)) end |