Class: Rupert::RPM::Signature
- Inherits:
-
Object
- Object
- Rupert::RPM::Signature
- Defined in:
- lib/rupert/rpm/signature.rb
Constant Summary collapse
- MD5_TAG =
Tag holding 128-bit MD5 checksum of header and payload
1004.freeze
Instance Method Summary collapse
-
#initialize(index) ⇒ Signature
constructor
Creates a new signature given its components.
-
#md5 ⇒ String
MD5 checksum contained in the RPM.
Constructor Details
#initialize(index) ⇒ Signature
Creates a new signature given its components.
11 12 13 |
# File 'lib/rupert/rpm/signature.rb', line 11 def initialize(index) @index = index end |
Instance Method Details
#md5 ⇒ String
MD5 checksum contained in the RPM.
19 20 21 |
# File 'lib/rupert/rpm/signature.rb', line 19 def md5 @index.get MD5_TAG end |