2015-06-22 22:47:27 +02:00
|
|
|
"""
|
2016-12-14 18:29:04 +01:00
|
|
|
.. module: lemur.plugins.bases.issuer
|
2015-06-22 22:47:27 +02: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 21:47:57 +02:00
|
|
|
from lemur.plugins.base import Plugin
|
2015-06-22 22:47:27 +02:00
|
|
|
|
2015-07-21 22:06:13 +02:00
|
|
|
|
2015-07-04 21:47:57 +02:00
|
|
|
class IssuerPlugin(Plugin):
|
2015-06-22 22:47:27 +02:00
|
|
|
"""
|
|
|
|
This is the base class from which all of the supported
|
|
|
|
issuers will inherit from.
|
|
|
|
"""
|
2015-07-11 02:09:22 +02:00
|
|
|
type = 'issuer'
|
|
|
|
|
2015-06-22 22:47:27 +02:00
|
|
|
def create_certificate(self):
|
|
|
|
raise NotImplementedError
|
|
|
|
|
|
|
|
def create_authority(self):
|
2015-07-08 00:32:55 +02:00
|
|
|
raise NotImplemented
|