Class: JWE::Enc::A192cbcHs384

Inherits:
Object
  • Object
show all
Includes:
AesCbcHs
Defined in:
lib/jwe/enc/a192cbc_hs384.rb

Instance Attribute Summary

Attributes included from AesCbcHs

#cek, #iv, #tag

Instance Method Summary collapse

Methods included from AesCbcHs

#cipher, #decrypt, #enc_key, #encrypt, included, #initialize, #mac_key

Instance Method Details

#cipher_nameObject



12
13
14
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 12

def cipher_name
  'AES-192-CBC'
end

#hash_nameObject



16
17
18
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 16

def hash_name
  'sha384'
end

#key_lengthObject



8
9
10
# File 'lib/jwe/enc/a192cbc_hs384.rb', line 8

def key_length
  48
end