Class: JWT::JWK::KidAsKeyDigest

Inherits:
Object
  • Object
show all
Defined in:
lib/jwt/jwk/kid_as_key_digest.rb

Instance Method Summary collapse

Constructor Details

#initialize(jwk) ⇒ KidAsKeyDigest

Returns a new instance of KidAsKeyDigest.



6
7
8
# File 'lib/jwt/jwk/kid_as_key_digest.rb', line 6

def initialize(jwk)
  @jwk = jwk
end

Instance Method Details

#generateObject



10
11
12
# File 'lib/jwt/jwk/kid_as_key_digest.rb', line 10

def generate
  @jwk.key_digest
end