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.
1359 1360 1361 |
# File 'lib/gpgme.rb', line 1359 def keyid @keyid end |
#pubkey_algo ⇒ Object (readonly)
Returns the value of attribute pubkey_algo.
1359 1360 1361 |
# File 'lib/gpgme.rb', line 1359 def pubkey_algo @pubkey_algo end |
Instance Method Details
#expired? ⇒ Boolean
1365 1366 1367 |
# File 'lib/gpgme.rb', line 1365 def expired? @expired == 1 end |
#expires ⇒ Object
1381 1382 1383 |
# File 'lib/gpgme.rb', line 1381 def expires Time.at(@expires) end |
#exportable? ⇒ Boolean
1373 1374 1375 |
# File 'lib/gpgme.rb', line 1373 def exportable? @exportable == 1 end |
#inspect ⇒ Object
1385 1386 1387 |
# File 'lib/gpgme.rb', line 1385 def inspect "#<#{self.class} #{keyid} timestamp=#{timestamp}, expires=#{expires}>" end |
#invalid? ⇒ Boolean
1369 1370 1371 |
# File 'lib/gpgme.rb', line 1369 def invalid? @invalid == 1 end |
#revoked? ⇒ Boolean
1361 1362 1363 |
# File 'lib/gpgme.rb', line 1361 def revoked? @revoked == 1 end |
#timestamp ⇒ Object
1377 1378 1379 |
# File 'lib/gpgme.rb', line 1377 def Time.at() end |