Class: GPGME::KeySig
- Inherits:
-
Object
- Object
- GPGME::KeySig
- Defined in:
- lib/gpgme.rb
Instance Attribute Summary collapse
-
#keyid ⇒ Object
readonly
Returns the value of attribute keyid.
-
#pubkey_algo ⇒ Object
readonly
Returns the value of attribute pubkey_algo.
Instance Method Summary collapse
- #expired? ⇒ Boolean
- #expires ⇒ Object
- #exportable? ⇒ Boolean
- #inspect ⇒ Object
- #invalid? ⇒ Boolean
- #revoked? ⇒ Boolean
- #timestamp ⇒ Object
Instance Attribute Details
#keyid ⇒ Object (readonly)
Returns the value of attribute keyid.
1410 1411 1412 |
# File 'lib/gpgme.rb', line 1410 def keyid @keyid end |
#pubkey_algo ⇒ Object (readonly)
Returns the value of attribute pubkey_algo.
1410 1411 1412 |
# File 'lib/gpgme.rb', line 1410 def pubkey_algo @pubkey_algo end |
Instance Method Details
#expired? ⇒ Boolean
1416 1417 1418 |
# File 'lib/gpgme.rb', line 1416 def expired? @expired == 1 end |
#expires ⇒ Object
1432 1433 1434 |
# File 'lib/gpgme.rb', line 1432 def expires Time.at(@expires) end |
#exportable? ⇒ Boolean
1424 1425 1426 |
# File 'lib/gpgme.rb', line 1424 def exportable? @exportable == 1 end |
#inspect ⇒ Object
1436 1437 1438 |
# File 'lib/gpgme.rb', line 1436 def inspect "#<#{self.class} #{keyid} timestamp=#{}, expires=#{expires}>" end |
#invalid? ⇒ Boolean
1420 1421 1422 |
# File 'lib/gpgme.rb', line 1420 def invalid? @invalid == 1 end |
#revoked? ⇒ Boolean
1412 1413 1414 |
# File 'lib/gpgme.rb', line 1412 def revoked? @revoked == 1 end |
#timestamp ⇒ Object
1428 1429 1430 |
# File 'lib/gpgme.rb', line 1428 def Time.at(@timestamp) end |