Class: TTFunk::Table::Dsig::SignatureRecord
- Inherits:
-
Object
- Object
- TTFunk::Table::Dsig::SignatureRecord
- Defined in:
- lib/ttfunk/table/dsig.rb
Overview
Signature record.
Instance Attribute Summary collapse
-
#format ⇒ Integer
readonly
Format of the signature.
-
#length ⇒ Integer
readonly
Length of signature in bytes.
-
#offset ⇒ Integer
readonly
Offset to the signature block from the beginning of the table.
-
#signature ⇒ String
readonly
Signature PKCS#7 packet.
Instance Method Summary collapse
-
#initialize(format, length, offset, signature) ⇒ SignatureRecord
constructor
A new instance of SignatureRecord.
Constructor Details
#initialize(format, length, offset, signature) ⇒ SignatureRecord
Returns a new instance of SignatureRecord.
29 30 31 32 33 34 |
# File 'lib/ttfunk/table/dsig.rb', line 29 def initialize(format, length, offset, signature) @format = format @length = length @offset = offset @signature = signature end |
Instance Attribute Details
#format ⇒ Integer (readonly)
Format of the signature.
11 12 13 |
# File 'lib/ttfunk/table/dsig.rb', line 11 def format @format end |
#length ⇒ Integer (readonly)
Length of signature in bytes.
15 16 17 |
# File 'lib/ttfunk/table/dsig.rb', line 15 def length @length end |
#offset ⇒ Integer (readonly)
Offset to the signature block from the beginning of the table.
19 20 21 |
# File 'lib/ttfunk/table/dsig.rb', line 19 def offset @offset end |
#signature ⇒ String (readonly)
Signature PKCS#7 packet.
23 24 25 |
# File 'lib/ttfunk/table/dsig.rb', line 23 def signature @signature end |