Class: R509::CRL::ReaderWriter
- Inherits:
-
Object
- Object
- R509::CRL::ReaderWriter
- Defined in:
- lib/r509/crl/reader_writer.rb
Overview
Abstract base class for a CRL writer. Use this to construct a subclass that can then be passed to R509::CRL::Administrator to read/write CRL data with whatever backend you want.
Direct Known Subclasses
Instance Method Summary (collapse)
- - (Object) read_list
- - (Object) read_number
- - (Object) remove_list_entry
- - (Object) write_list_entry
- - (Object) write_number
Instance Method Details
- (Object) read_list
24 25 26 |
# File 'lib/r509/crl/reader_writer.rb', line 24 def read_list raise NotImplementedError, "You must call #read_list on a subclass of ReaderWriter" end |
- (Object) read_number
28 29 30 |
# File 'lib/r509/crl/reader_writer.rb', line 28 def read_number raise NotImplementedError, "You must call #read_number on a subclass of ReaderWriter" end |
- (Object) remove_list_entry
16 17 18 |
# File 'lib/r509/crl/reader_writer.rb', line 16 def remove_list_entry raise NotImplementedError, "You must call #remove_list_entry on a subclass of ReaderWriter" end |
- (Object) write_list_entry
12 13 14 |
# File 'lib/r509/crl/reader_writer.rb', line 12 def write_list_entry raise NotImplementedError, "You must call #write_list_entry on a subclass of ReaderWriter" end |
- (Object) write_number
20 21 22 |
# File 'lib/r509/crl/reader_writer.rb', line 20 def write_number raise NotImplementedError, "You must call #write_number on a subclass of ReaderWriter" end |