![]() |
![]()
| ![]() |
![]()
NameOpenXPKI::Crypto::Backend::OpenSSL::Command::get_pkcs8_keytype DescriptionThis command returns the type of a key contained in a PKCS#8 PEM data block. This is necessary if you want to convert a PKCS#8 to an OpenSSL/SSLeay format, as you need to know the key type for that so that the conversion can be done in one step. Functionsget_command
hide_outputreturns 1 key_usagereturns 1 (private key must be decoded first) get_resultsimply returns the type, e.g. RSA, EC, DSA.
|