Class: MailAuth::ArcSet

Inherits:
Data
  • Object
show all
Defined in:
lib/mailauth/result.rb

Overview

One ARC Set (RFC 8617 ยง4.2): what one hop sealed, and what it asserted about the message when it did. claimed is that hop's own account of the message's authentication, which a valid chain proves unmodified since sealing and proves nothing else about.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instance:, chain_status: nil, seal: nil, message_signature: nil, authentication_results: nil, claimed: {}) ⇒ ArcSet

Returns a new instance of ArcSet.



68
69
70
# File 'lib/mailauth/result.rb', line 68

def initialize(instance:, chain_status: nil, seal: nil, message_signature: nil, authentication_results: nil, claimed: {})
  super
end

Instance Attribute Details

#authentication_resultsObject (readonly)

Returns the value of attribute authentication_results

Returns:

  • (Object)

    the current value of authentication_results



67
68
69
# File 'lib/mailauth/result.rb', line 67

def authentication_results
  @authentication_results
end

#chain_statusObject (readonly)

Returns the value of attribute chain_status

Returns:

  • (Object)

    the current value of chain_status



67
68
69
# File 'lib/mailauth/result.rb', line 67

def chain_status
  @chain_status
end

#claimedObject (readonly)

Returns the value of attribute claimed

Returns:

  • (Object)

    the current value of claimed



67
68
69
# File 'lib/mailauth/result.rb', line 67

def claimed
  @claimed
end

#instanceObject (readonly)

Returns the value of attribute instance

Returns:

  • (Object)

    the current value of instance



67
68
69
# File 'lib/mailauth/result.rb', line 67

def instance
  @instance
end

#message_signatureObject (readonly)

Returns the value of attribute message_signature

Returns:

  • (Object)

    the current value of message_signature



67
68
69
# File 'lib/mailauth/result.rb', line 67

def message_signature
  @message_signature
end

#sealObject (readonly)

Returns the value of attribute seal

Returns:

  • (Object)

    the current value of seal



67
68
69
# File 'lib/mailauth/result.rb', line 67

def seal
  @seal
end