lib/xmlenc/builder/encrypted_key.rb in xmlenc-0.6.5 vs lib/xmlenc/builder/encrypted_key.rb in xmlenc-0.6.6

- old
+ new

@@ -12,12 +12,12 @@ namespace "xenc" attribute :id, String, tag: 'Id' attribute :recipient, String, tag: 'Recipient' - element :carried_key_name, String, tag: 'CarriedKeyName', namespace: 'xenc' - has_one :reference_list, Xmlenc::Builder::ReferenceList, :xpath => "./" + + element :carried_key_name, String, tag: 'CarriedKeyName', namespace: 'xenc' attr_accessor :data def encrypt(key, data = nil) encryptor = algorithm.new(key)