Class: Sigstore::Rekor::Checkpoint::SignedCheckpoint
- Inherits:
-
Struct
- Object
- Struct
- Sigstore::Rekor::Checkpoint::SignedCheckpoint
- Defined in:
- lib/sigstore/rekor/checkpoint.rb
Instance Attribute Summary collapse
-
#checkpoint ⇒ Object
Returns the value of attribute checkpoint.
-
#signed_note ⇒ Object
Returns the value of attribute signed_note.
Class Method Summary collapse
Instance Attribute Details
#checkpoint ⇒ Object
Returns the value of attribute checkpoint
22 23 24 |
# File 'lib/sigstore/rekor/checkpoint.rb', line 22 def checkpoint @checkpoint end |
#signed_note ⇒ Object
Returns the value of attribute signed_note
22 23 24 |
# File 'lib/sigstore/rekor/checkpoint.rb', line 22 def signed_note @signed_note end |
Class Method Details
.from_text(text) ⇒ Object
25 26 27 28 29 30 |
# File 'lib/sigstore/rekor/checkpoint.rb', line 25 def self.from_text(text) signed_note = SignedNote.from_text(text) checkpoint = LogCheckpoint.from_text(signed_note.note) new(signed_note:, checkpoint:) end |