2015-06-22 13:47:27 -07:00
|
|
|
"""
|
2016-12-14 19:29:04 +02:00
|
|
|
.. module: lemur.plugins.bases.issuer
|
2015-06-22 13:47:27 -07:00
|
|
|
: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>
|
|
|
|
"""
|
2015-07-04 12:47:57 -07:00
|
|
|
from lemur.plugins.base import Plugin
|
2015-06-22 13:47:27 -07:00
|
|
|
|
2015-07-21 13:06:13 -07:00
|
|
|
|
2015-07-04 12:47:57 -07:00
|
|
|
class IssuerPlugin(Plugin):
|
2015-06-22 13:47:27 -07:00
|
|
|
"""
|
|
|
|
This is the base class from which all of the supported
|
|
|
|
issuers will inherit from.
|
|
|
|
"""
|
2015-07-10 17:09:22 -07:00
|
|
|
type = 'issuer'
|
|
|
|
|
2016-12-14 23:42:29 +02:00
|
|
|
def create_certificate(self, csr, issuer_options):
|
2015-06-22 13:47:27 -07:00
|
|
|
raise NotImplementedError
|
|
|
|
|
2016-12-14 23:42:29 +02:00
|
|
|
def create_authority(self, options):
|
|
|
|
raise NotImplementedError
|