Skip to main content

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.

Release files for sdcfc 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sdcfc 0.1.2
File Size Uploaded
sdcfc-0.1.2.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sdcfc 0.1.2
File Interpreter ABI Platform
sdcfc-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / sdcfc-0.1.2.tar.gz

Download URL sdcfc-0.1.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a1d6c30d661fecb3bbfe4d6a6279408f76c9ae2028b1aaa917d3c2c4039bed20
BLAKE2b-256 checksum
How to use checksums
102321e8eba8b10100fe6de02665be55c34dcfc5adf671d050e4366b82e2f615
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.1

Release files / sdcfc-0.1.2-py3-none-any.whl

Download URL sdcfc-0.1.2-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b61c8c8a5304f3fa097e078ed79e548e49df2f48e6efea9e68bd5b98e3ef0664
BLAKE2b-256 checksum
How to use checksums
c963f05592e1c4d2783cfe2a71827644f3ba37d7e4bd61248f758ca53ed35929
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.1

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page