class RestPki::CadesSignature
Attributes
encapsulated_content_type[R]
has_encapsulated_content[R]
signers[R]
Public Class Methods
new(model)
click to toggle source
# File lib/rest_pki/cades_signature.rb, line 4 def initialize(model) @encapsulated_content_type = model['encapsulatedContentType'] @has_encapsulated_content = model['hasEncapsulatedContent'] @signers = [] unless model['signers'].nil? model['signers'].each { |signer| @signers.push(CadesSignerInfo.new(signer)) } end end