SDCFC(Secure Data Certificate Format Converter) This tool converts certs from one format(PEM, DER, PKCS12) files to other formats(PEM, DER, PKCS12).
Project description
Secure Data Certificate Format Converter (SDCFC)
Secure Data Certificate Format Converter (SDCFC) is a powerful tool for managing certificate files, offering seamless conversion between PEM, DER, and PKCS12 formats. Whether you need to generate, convert, or manage certificates, SD-CFC provides a user-friendly interface to streamline your workflow securely.
Features
- Conversion: Easily convert certificate files between PEM, DER, and PKCS12 formats.
- Generation: Generate self-signed certificates in PEM format.
- Encryption: Encrypt private keys with password protection.
- User-Friendly: Simple command-line interface for quick operations.
- Cross-Platform: Compatible with Windows, macOS, and Linux.
- Convert PEM to DER
- Convert DER to PEM
- Convert PEM to PKCS#12
- Convert PKCS#12 to PEM
- Convert DER to PKCS#12
Installation
Installation
To install SD-CFC, use pip:
pip install sdcfc
Usage
Command Line Interface
After installing, you can use the tool via command line:
sh
sdcfc
Example Usage
python
to i nvoke the mainmenu...
import sdcfc
# Now you can use functions or classes defined in sdfc module
sdcfc.main()
OR use you can specific functions as well
from sdcfc import PEMtoDERConverter, DERtoPEMConverter, PEMtoPKCS12Converter, PKCS12toPEMConverter, DERtoPKCS12Converter
# PEM to DER conversion
pem_to_der_converter = PEMtoDERConverter()
pem_to_der_converter.convert("path/to/certificate.pem", "path/to/certificate.der")
# DER to PEM conversion
der_to_pem_converter = DERtoPEMConverter()
der_to_pem_converter.convert("path/to/certificate.der", "path/to/certificate.pem")
# PEM to PKCS12 conversion
pem_to_pkcs12_converter = PEMtoPKCS12Converter()
pem_to_pkcs12_converter.convert("path/to/certificate.pem", "path/to/certificate.p12", password="your_password")
# PKCS12 to PEM conversion
pkcs12_to_pem_converter = PKCS12toPEMConverter()
pkcs12_to_pem_converter.convert("path/to/certificate.p12", "path/to/certificate.pem", password="your_password")
# DER to PKCS12 conversion
der_to_pkcs12_converter = DERtoPKCS12Converter()
der_to_pkcs12_converter.convert("path/to/certificate.der", "path/to/certificate.p12", password="your_password")
Menu Interface
Run the following command to start the interactive menu:
sh
sdcfc
You will be presented with a menu to choose the desired conversion.
Example Menu Usage
Convert PEM to DER
Convert DER to PEM
Convert PEM to PKCS#12
Convert PKCS#12 to PEM
Convert DER to PKCS#12
Exit
Connect with Me
LinkedIn: https://www.linkedin.com/in/subham-divakar-a7420a12a/
GitHub: https://github.com/shubham10divakar
Portfolio: https://shubham10divakar.github.io/showcasehub/
Feedback
Your feedback is important! Please share your thoughts and suggestions.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sdcfc-0.1.2.tar.gz.
File metadata
- Download URL: sdcfc-0.1.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1d6c30d661fecb3bbfe4d6a6279408f76c9ae2028b1aaa917d3c2c4039bed20
|
|
| MD5 |
ffd2cf591523e4709da461f6b6fba6d8
|
|
| BLAKE2b-256 |
102321e8eba8b10100fe6de02665be55c34dcfc5adf671d050e4366b82e2f615
|
File details
Details for the file sdcfc-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sdcfc-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b61c8c8a5304f3fa097e078ed79e548e49df2f48e6efea9e68bd5b98e3ef0664
|
|
| MD5 |
a7fe1bc3d4293faa0234cb56d2247eae
|
|
| BLAKE2b-256 |
c963f05592e1c4d2783cfe2a71827644f3ba37d7e4bd61248f758ca53ed35929
|