class Acmesmith::Storages::Base

Public Class Methods

new() click to toggle source
# File lib/acmesmith/storages/base.rb, line 7
def initialize()
end

Public Instance Methods

get_account_key() click to toggle source

@return [Acmesmith::AccountKey]

# File lib/acmesmith/storages/base.rb, line 11
def get_account_key
  raise NotImplementedError
end
get_certificate(common_name, version: 'current') click to toggle source

@param common_name [String] @param version [String, nil] @return [Acmesmith::Certificate]

# File lib/acmesmith/storages/base.rb, line 31
def get_certificate(common_name, version: 'current')
  raise NotImplementedError
end
get_current_certificate_version(common_name) click to toggle source

@param common_name [String] @return [String] current version

# File lib/acmesmith/storages/base.rb, line 49
def get_current_certificate_version(common_name)
  raise NotImplementedError
end
list_certificate_versions(common_name) click to toggle source

@param common_name [String] @return [String] array of versions

# File lib/acmesmith/storages/base.rb, line 43
def list_certificate_versions(common_name)
  raise NotImplementedError
end
list_certificates() click to toggle source

@param common_name [String] @return [String] array of common_names

# File lib/acmesmith/storages/base.rb, line 37
def list_certificates
  raise NotImplementedError
end
put_account_key(key, passphrase = nil) click to toggle source

@param key [Acmesmith::AccountKey] @param passphrase [String, nil]

# File lib/acmesmith/storages/base.rb, line 17
def put_account_key(key, passphrase = nil)
  raise NotImplementedError
end
put_certificate(cert, passphrase = nil, update_current: true) click to toggle source

@param cert [Acmesmith::Certificate] @param passphrase [String, nil] @param update_current [true, false]

# File lib/acmesmith/storages/base.rb, line 24
def put_certificate(cert, passphrase = nil, update_current: true)
  raise NotImplementedError
end