lib/xmlenc/builder/encrypted_key.rb in xmlenc-0.6.4 vs lib/xmlenc/builder/encrypted_key.rb in xmlenc-0.6.5
- old
+ new
@@ -12,9 +12,11 @@
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 => "./"
attr_accessor :data
def encrypt(key, data = nil)