Class: Pdfrb::DigitalSignature::VerificationResult
- Inherits:
-
Struct
- Object
- Struct
- Pdfrb::DigitalSignature::VerificationResult
- Defined in:
- lib/pdfrb/digital_signature/verification_result.rb
Instance Attribute Summary collapse
-
#byte_range_ok? ⇒ Object
Returns the value of attribute byte_range_ok?.
-
#cert_chain ⇒ Object
Returns the value of attribute cert_chain.
-
#error ⇒ Object
Returns the value of attribute error.
-
#signed_at ⇒ Object
Returns the value of attribute signed_at.
-
#signer ⇒ Object
Returns the value of attribute signer.
-
#trusted? ⇒ Object
Returns the value of attribute trusted?.
-
#valid? ⇒ Object
Returns the value of attribute valid?.
Instance Method Summary collapse
Instance Attribute Details
#byte_range_ok? ⇒ Object
Returns the value of attribute byte_range_ok?
5 6 7 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 5
def byte_range_ok?
@byte_range_ok?
end
|
#cert_chain ⇒ Object
Returns the value of attribute cert_chain
5 6 7 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 5 def cert_chain @cert_chain end |
#error ⇒ Object
Returns the value of attribute error
5 6 7 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 5 def error @error end |
#signed_at ⇒ Object
Returns the value of attribute signed_at
5 6 7 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 5 def signed_at @signed_at end |
#signer ⇒ Object
Returns the value of attribute signer
5 6 7 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 5 def signer @signer end |
#trusted? ⇒ Object
Returns the value of attribute trusted?
5 6 7 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 5
def trusted?
@trusted?
end
|
#valid? ⇒ Object
Returns the value of attribute valid?
5 6 7 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 5
def valid?
@valid?
end
|
Instance Method Details
#cert_count ⇒ Object
11 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 11 def cert_count; cert_chain&.length || 0; end |
#has_error? ⇒ Boolean
10 |
# File 'lib/pdfrb/digital_signature/verification_result.rb', line 10 def has_error?; !error.nil?; end |