RSA密钥转换为PEM文件 [英] RSA key convert to PEM file
问题描述
如何转换此RSA公钥: 109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110 6039072308886100100558558188253585034290 57592827629436413108566029093628 2126359538366865626758497206497862794310902180902180176810615217550567108238764764442605581471797071七个67467421683683p
到* .pem文件?
"pem"文件并不是一种真正的格式,并且不同种类的对象可能存储在称为"pem"文件的事物中.大多数情况下,这些文件包含以base64编码的X509证书或以base64编码的私钥对象.
假设您需要X509证书,那么接下来您应该意识到证书包含许多字段,其中只有一个是公用密钥.因此,需要确定其他字段的值.最后,必须使用私钥对证书进行签名.
PS. RSA公钥由模数和组成.您的公开指数是什么?
How can I convert this RSA public key: 109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110 6039072308886100726558188253585034290 57592827629436413108566029093628 2126359538366865626758497206207862794310902180176810615217550567108238764764442605581471797071 19674283982419152118103759076030616683978566631413
to *.pem file?
A "pem" file is not really a format, and different kinds of objects may be be stored in things called "pem" files. Most often these files contain either a base64-encoded X509 certificate or else a base64-encoded private key object.
Assuming you want an X509 certificate, you should next realize that a certificate consists of many fields, only one of which is the public key. So would need to decide on the values of the other fields. Finally, a certificate must be signed, with a private key.
PS. An RSA public key consists of a modulus and a public exponent. What is your public exponent?
这篇关于RSA密钥转换为PEM文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!