https://github.com/aakashsethi20/xml-pem-converter
Console application to convert RSA keys from and to XML and PEM formats
https://github.com/aakashsethi20/xml-pem-converter
pem rsa xml
Last synced: 5 months ago
JSON representation
Console application to convert RSA keys from and to XML and PEM formats
- Host: GitHub
- URL: https://github.com/aakashsethi20/xml-pem-converter
- Owner: aakashsethi20
- License: mit
- Created: 2021-12-20T03:36:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T02:42:13.000Z (over 4 years ago)
- Last Synced: 2024-01-29T23:13:57.115Z (over 2 years ago)
- Topics: pem, rsa, xml
- Language: C#
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# XML PEM Converter
This is a C#.NET based console application to convert public and private keys between XML and PEM format, either way.
You will need .NET 6 SDK to build and run this application.
## XML to PEM
First option is to obtain PEM string from XML. Paste the XML that you have in xmlFile.xml **before** running the program.
## PEM to XML
Second option is to obtain XML string from PEM. Paste the PEM key in pemFile.pem **before** running the program.
# Credits
I was inspired by [this website](http://superdry.apphb.com/tools/online-rsa-key-converter) to make this project. Code take from [GitHub Gist](https://gist.github.com/misaxi/4642030).
To be honest, the only reason I made this was because I didn't want to broadcast keys that I convert on the internet so wanted to make a local solution but all code and logic credits to them.