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.
Source Code
lib/ttfunk/table/dsig.rb, line 29
29 | def initialize(format, length, offset, signature) |
30 | @format = format |
31 | @length = length |
32 | @offset = offset |
33 | @signature = signature |
34 | end
|
Instance Attribute Details
#format ⇒ Integer (readonly)
Format of the signature.
Source Code
lib/ttfunk/table/dsig.rb, line 11
11 | def format |
12 | @format
|
13 | end
|
#length ⇒ Integer (readonly)
Length of signature in bytes.
Source Code
lib/ttfunk/table/dsig.rb, line 15
15 | def length |
16 | @length
|
17 | end
|
#offset ⇒ Integer (readonly)
Offset to the signature block from the beginning of the table.
Source Code
lib/ttfunk/table/dsig.rb, line 19
19 | def offset |
20 | @offset
|
21 | end
|
#signature ⇒ String (readonly)
Signature PKCS#7 packet.
Source Code
lib/ttfunk/table/dsig.rb, line 23
23 | def signature |
24 | @signature
|
25 | end
|