Class: DKIM::Signature
- Inherits:
-
Object
- Object
- DKIM::Signature
- Defined in:
- lib/dkim.rb
Constant Summary collapse
- PDKIM_VERIFY_NONE =
0
- PDKIM_VERIFY_INVALID =
1
- PDKIM_VERIFY_FAIL =
2
- PDKIM_VERIFY_PASS =
3
- PDKIM_VERIFY_FAIL_BODY =
1
- PDKIM_VERIFY_FAIL_MESSAGE =
2
- PDKIM_VERIFY_INVALID_PUBKEY_UNAVAILABLE =
3
- PDKIM_VERIFY_INVALID_BUFFER_SIZE =
4
- PDKIM_VERIFY_INVALID_PUBKEY_PARSING =
5
Instance Attribute Summary collapse
-
#algo ⇒ Object
Returns the value of attribute algo.
-
#bodyhash ⇒ Object
Returns the value of attribute bodyhash.
-
#bodylength ⇒ Object
Returns the value of attribute bodylength.
-
#canon_body ⇒ Object
Returns the value of attribute canon_body.
-
#canon_headers ⇒ Object
Returns the value of attribute canon_headers.
-
#copiedheaders ⇒ Object
Returns the value of attribute copiedheaders.
-
#created ⇒ Object
Returns the value of attribute created.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#expires ⇒ Object
Returns the value of attribute expires.
-
#headernames ⇒ Object
Returns the value of attribute headernames.
-
#identity ⇒ Object
Returns the value of attribute identity.
-
#pubkey ⇒ Object
Returns the value of attribute pubkey.
-
#querymethod ⇒ Object
Returns the value of attribute querymethod.
-
#selector ⇒ Object
Returns the value of attribute selector.
-
#sigdata ⇒ Object
Returns the value of attribute sigdata.
-
#signature_header ⇒ Object
Returns the value of attribute signature_header.
-
#verify_ext_status ⇒ Object
Returns the value of attribute verify_ext_status.
-
#verify_status ⇒ Object
Returns the value of attribute verify_status.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#algo ⇒ Object
Returns the value of attribute algo.
11 12 13 |
# File 'lib/dkim.rb', line 11 def algo @algo end |
#bodyhash ⇒ Object
Returns the value of attribute bodyhash.
11 12 13 |
# File 'lib/dkim.rb', line 11 def bodyhash @bodyhash end |
#bodylength ⇒ Object
Returns the value of attribute bodylength.
11 12 13 |
# File 'lib/dkim.rb', line 11 def bodylength @bodylength end |
#canon_body ⇒ Object
Returns the value of attribute canon_body.
11 12 13 |
# File 'lib/dkim.rb', line 11 def canon_body @canon_body end |
#canon_headers ⇒ Object
Returns the value of attribute canon_headers.
11 12 13 |
# File 'lib/dkim.rb', line 11 def canon_headers @canon_headers end |
#copiedheaders ⇒ Object
Returns the value of attribute copiedheaders.
11 12 13 |
# File 'lib/dkim.rb', line 11 def copiedheaders @copiedheaders end |
#created ⇒ Object
Returns the value of attribute created.
11 12 13 |
# File 'lib/dkim.rb', line 11 def created @created end |
#domain ⇒ Object
Returns the value of attribute domain.
11 12 13 |
# File 'lib/dkim.rb', line 11 def domain @domain end |
#expires ⇒ Object
Returns the value of attribute expires.
11 12 13 |
# File 'lib/dkim.rb', line 11 def expires @expires end |
#headernames ⇒ Object
Returns the value of attribute headernames.
11 12 13 |
# File 'lib/dkim.rb', line 11 def headernames @headernames end |
#identity ⇒ Object
Returns the value of attribute identity.
11 12 13 |
# File 'lib/dkim.rb', line 11 def identity @identity end |
#pubkey ⇒ Object
Returns the value of attribute pubkey.
11 12 13 |
# File 'lib/dkim.rb', line 11 def pubkey @pubkey end |
#querymethod ⇒ Object
Returns the value of attribute querymethod.
11 12 13 |
# File 'lib/dkim.rb', line 11 def querymethod @querymethod end |
#selector ⇒ Object
Returns the value of attribute selector.
11 12 13 |
# File 'lib/dkim.rb', line 11 def selector @selector end |
#sigdata ⇒ Object
Returns the value of attribute sigdata.
11 12 13 |
# File 'lib/dkim.rb', line 11 def sigdata @sigdata end |
#signature_header ⇒ Object
Returns the value of attribute signature_header.
11 12 13 |
# File 'lib/dkim.rb', line 11 def signature_header @signature_header end |
#verify_ext_status ⇒ Object
Returns the value of attribute verify_ext_status.
11 12 13 |
# File 'lib/dkim.rb', line 11 def verify_ext_status @verify_ext_status end |
#verify_status ⇒ Object
Returns the value of attribute verify_status.
11 12 13 |
# File 'lib/dkim.rb', line 11 def verify_status @verify_status end |
#version ⇒ Object
Returns the value of attribute version.
11 12 13 |
# File 'lib/dkim.rb', line 11 def version @version end |
Instance Method Details
#passed? ⇒ Boolean
27 28 29 |
# File 'lib/dkim.rb', line 27 def passed? return verify_status == PDKIM_VERIFY_PASS end |