lemur/lemur/plugins/bases/issuer.py

24 lines
554 B
Python

"""
.. module: lemur.bases.issuer
:platform: Unix
:copyright: (c) 2015 by Netflix Inc., see AUTHORS for more
:license: Apache, see LICENSE for more details.
.. moduleauthor:: Kevin Glisson <kglisson@netflix.com>
"""
from lemur.plugins.base import Plugin
class IssuerPlugin(Plugin):
"""
This is the base class from which all of the supported
issuers will inherit from.
"""
type = 'issuer'
def create_certificate(self):
raise NotImplementedError
def create_authority(self):
raise NotImplemented