Module: Xmlenc::Builder::ComplexTypes::EncryptedType
- Extended by:
- ActiveSupport::Concern
- Includes:
- Base
- Included in:
- EncryptedData, EncryptedKey
- Defined in:
- lib/xmlenc/builder/complex_types/encrypted_type.rb
Instance Method Summary collapse
Instance Method Details
#initialize(attributes = {}) ⇒ Object
18 19 20 21 |
# File 'lib/xmlenc/builder/complex_types/encrypted_type.rb', line 18 def initialize(attributes = {}) super self.cipher_data = CipherData.new end |
#set_encryption_method(attributes = {}) ⇒ Object
23 24 25 |
# File 'lib/xmlenc/builder/complex_types/encrypted_type.rb', line 23 def set_encryption_method(attributes = {}) self.encryption_method = EncryptionMethod.new(attributes) end |