Method: Chef::EncryptedDataBagItem::Encryptor::Version3Encryptor#encrypted_data
- Defined in:
- lib/chef/encrypted_data_bag_item/encryptor.rb
#encrypted_data ⇒ Object
Encrypts, Base64 encodes serialized_data and gets the authentication tag
211 212 213 214 215 216 217 |
# File 'lib/chef/encrypted_data_bag_item/encryptor.rb', line 211 def encrypted_data @encrypted_data ||= begin enc_data_b64 = super @auth_tag = openssl_encryptor.auth_tag enc_data_b64 end end |