Class: R509::CRL::ReaderWriter

Inherits:
Object
  • Object
show all
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

FileReaderWriter

Instance Method Summary (collapse)

Instance Method Details

- (Object) read_list

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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