Class: JWA::Algorithms::ContentEncryption::A192CbcHs384
- Inherits:
-
Object
- Object
- JWA::Algorithms::ContentEncryption::A192CbcHs384
show all
- Includes:
- AesCbcHs
- Defined in:
- lib/jwa/algorithms/content_encryption/a192_cbc_hs384.rb
Instance Attribute Summary
Attributes included from AesCbcHs
#iv, #key
Class Method Summary
collapse
Methods included from AesCbcHs
#cipher, #cipher_round, #decrypt, #enc_key, #encrypt, #generate_tag, included, #initialize, #mac_key
Class Method Details
.cipher_name ⇒ Object
18
19
20
|
# File 'lib/jwa/algorithms/content_encryption/a192_cbc_hs384.rb', line 18
def cipher_name
'AES-192-CBC'
end
|
.enc_name ⇒ Object
10
11
12
|
# File 'lib/jwa/algorithms/content_encryption/a192_cbc_hs384.rb', line 10
def enc_name
'A192CBC-HS384'
end
|
.hash ⇒ Object
22
23
24
|
# File 'lib/jwa/algorithms/content_encryption/a192_cbc_hs384.rb', line 22
def hash
OpenSSL::Digest::SHA384.new
end
|
.key_length ⇒ Object
14
15
16
|
# File 'lib/jwa/algorithms/content_encryption/a192_cbc_hs384.rb', line 14
def key_length
48
end
|