lemur_jks package¶
lemur_jks
Module¶
plugin
Module¶
- class lemur.plugins.lemur_jks.plugin.JavaKeystoreExportPlugin
Bases:
ExportPlugin
- author = 'Marti Raudsepp'
- author_url = 'https://github.com/intgr'
- description = 'Generates a JKS keystore'
- export(body, chain, key, options, **kwargs)
Generates a Java Keystore
- options = [{'name': 'passphrase', 'type': 'str', 'required': False, 'helpMessage': 'If no passphrase is given one will be generated for you, we highly recommend this.', 'validation': ''}, {'name': 'alias', 'type': 'str', 'required': False, 'helpMessage': 'Enter the alias you wish to use for the keystore.'}]
- slug = 'java-keystore-jks'
- title = 'Java Keystore (JKS)'
- version = 'unknown'
- class lemur.plugins.lemur_jks.plugin.JavaTruststoreExportPlugin
Bases:
ExportPlugin
- author = 'Marti Raudsepp'
- author_url = 'https://github.com/intgr'
- description = 'Generates a JKS truststore'
- export(body, chain, key, options, **kwargs)
Generates a Java Truststore
- options = [{'name': 'alias', 'type': 'str', 'required': False, 'helpMessage': 'Enter the alias you wish to use for the truststore.'}, {'name': 'passphrase', 'type': 'str', 'required': False, 'helpMessage': 'If no passphrase is given one will be generated for you, we highly recommend this.', 'validation': ''}]
- requires_key = False
- slug = 'java-truststore-jks'
- title = 'Java Truststore (JKS)'
- version = 'unknown'
- lemur.plugins.lemur_jks.plugin.cert_chain_as_der(cert, chain)
Return a certificate and its chain in a list format, as expected by pyjks.
- lemur.plugins.lemur_jks.plugin.create_keystore(cert, chain, key, alias, passphrase)
- lemur.plugins.lemur_jks.plugin.create_truststore(cert, chain, alias, passphrase)