Changeset 16
- Timestamp:
- 10/30/04 23:38:15 (4 years ago)
- Files:
-
- trunk/lib/pgp/hashalgorithm.rb (modified) (1 diff)
- trunk/lib/pgp/pkeyalgorithm.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/pgp/hashalgorithm.rb
r2 r16 18 18 0x03, 0x02, 0x01, 0x05, 0x00, 0x04, 0x14]], 19 19 # SHA256: 2.16.840.1.101.3.4.2.1 20 4 => ["Reserved"], 21 5 => ["Reserved"], 22 6 => ["Reserved"], 23 7 => ["Reserved"], 20 24 8 => ["SHA256", 32, [0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 21 25 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20]], trunk/lib/pgp/pkeyalgorithm.rb
r2 r16 48 48 when 17 49 49 "r - #{MPI.nbits(signature[0])} bits, s - #{MPI.nbits(signature[1])} bits" 50 when 16, 20 51 "??? (#{signature.size} bytes)" 50 52 else 51 53 raise "Not supported: #{algorithm}"