Class: Sandal::Sig::HS384

Inherits:
HS
  • Object
show all
Defined in:
lib/sandal/sig/hs.rb

Overview

The HMAC-SHA384 signing algorithm.

Constant Summary collapse

NAME =

The JWA name of the algorithm.

"HS384"

Instance Attribute Summary

Attributes inherited from HS

#name

Instance Method Summary collapse

Methods inherited from HS

#sign, #valid?

Constructor Details

#initialize(key) ⇒ HS384

Creates a new instance.

Parameters:

  • key (String)

    The key to use for signing or validation.



66
67
68
# File 'lib/sandal/sig/hs.rb', line 66

def initialize(key)
  super(NAME, 384, key)
end