method

decryption_keys

rails latest stable - Class: ActiveRecord::Encryption::KeyProvider
decryption_keys(encrypted_message)
public

Returns the list of decryption keys

When the message holds a reference to its encryption key, it will return an array with that key. If not, it will return the list of keys.