class HexaPDF::DigitalSignature::VerificationResult

Parent

Holds the result of verifying a signature.

Constants

Message

This structure represents a single status message, containing the type (:info, :warning, or :error) and the content of the message.

Attributes

messages[R]

An array with all result messages.

Public Class Methods

new()

Creates an empty result object.

Public Instance Methods

failure?()

Returns true if there is at least one error message.

log(type, content)

Adds a new message of the given type to this result object.

type

One of :info, :warning or :error.

content

The log message.

success?()

Returns true if there are no error messages.