Class JSON::JWE
In: lib/json/jwe.rb
Parent: Object

Methods

as_json   decrypt!   encrypt!   new   to_s  

Included Modules

JOSE

Classes and Modules

Class JSON::JWE::DecryptionFailed
Class JSON::JWE::InvalidFormat
Class JSON::JWE::UnexpectedAlgorithm

Constants

NUM_OF_SEGMENTS = 5

External Aliases

enc -> encryption_method

Attributes

auth_data  [RW] 
authentication_tag  [RW] 
cipher_text  [RW] 
content_encryption_key  [RW] 
encryption_key  [RW] 
iv  [RW] 
jwe_encrypted_key  [RW] 
mac_key  [RW] 
plain_text  [RW] 
private_key_or_secret  [RW] 
public_key_or_secret  [RW] 

Public Class methods

Public Instance methods

[Validate]