Yes. I use this command to convert a pubic key from PEM to DER.
The RSA(1) man page says:
-pubin by default a private key is read from the input file: with this option a public key is read instead.
-pubout by default a private key is output: with this option a public key will be output instead. This option is automatically set if the input is a public key.
このコメントは投稿者によって削除されました。
返信削除Is this command output the Public Key?
返信削除Yes. I use this command to convert a pubic key from PEM to DER.
削除The RSA(1) man page says:
-pubin
by default a private key is read from the input file: with this
option a public key is read instead.
-pubout
by default a private key is output: with this option a public key
will be output instead. This option is automatically set if the
input is a public key.