EnglishFrenchSpanish

OnWorks favicon

pkcs1-conv - Online in the Cloud

Run pkcs1-conv in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pkcs1-conv that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pkcs1-conv - convert keys from PKCS#1 format to s-expression format

SYNOPSIS


pkcs1-conv [{--private-rsa-key|--public-rsa-key|--public-key-info} [--base-64]] < FILE

DESCRIPTION


This manual page documents briefly the pkcs1-conv command. This manual page was written
for the Debian GNU/Linux distribution because the original program does not have a manual
page.

pkcs1-conv converts private and public RSA keys from PKCS #1 format to sexp format.

OPTIONS


This program follows the usual GNU command line syntax, with long options starting with
two dashes (`-').

By default pkcs1-conv expects a PEM-encapsulated RSA key on standard input, and will
determine its type from the Pre-Encapsulation Boundary. To convert a DER-encoded (non
PEM-encoded) key, one of the first three options below must be used:

--private-rsa-key
Specify that a DER-encoded RSAPrivateKey, as defined by PKCS #1 (RFC 3447), and
described in section A.1.2 of its appendix A, is to be expected as input.

--public-rsa-key
Specify that a DER-encoded RSAPublicKey, as defined by PKCS #1 (RFC 3447), and
described in section A.1.1 of its appendix A, is to be expected as input.

--public-key-info
Specify that a DER-encoded SubjectPublicKeyInfo, as defined by PKCS #6, and
described in section A.1 of its appendix A, encapsulating an RSAPublicKey, is to be
expected as input.

--base-64
Together with --private-rsa-key, --public-rsa-key, or --public-key-info, specify
that base64 encoding is applied on top of the DER encoding.

-?, --help
Show summary of options (not implemented).

-V, --version
Show version of program.

DIAGNOSTICS


pkcs1-conv will complain and exit with a status of 1 if the input doesn't match
expectations. In PEM mode (when no option is used), if no PEM block is found, pkcs1-conv
will output nothing but exit with a zero status.

EXAMPLES


$ openssl genrsa -out privkey.pem
$ pkcs1-conv < privkey.pem > privkey.sexp
$ openssl rsa -in privkey.pem -outform DER -out privkey.der
$ openssl rsa -in privkey.pem -outform DER -pubout -out pubkey.der
$ pkcs1-conv --rsa-private-key < privkey.der > privkey.sexp
$ pkcs1-conv --public-key-info < pubkey.der > pubkey.sexp

Use pkcs1-conv online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    USBLoaderGX
    USBLoaderGX
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 2
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 3
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 4
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 5
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 6
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    foundations...
    Download Dolibarr ERP - CRM
  • ation Foundation Linux app" href="/software/linux/app-windows-presentation-foundation">Download Windows Presentation Foundation "/software/linux/app-transmission-remote-gui">Download Transmission Remote GUI inux, MacOS and Windows. The main pu...
    Download butt (broadcast using this tool)
  • More »

Linux commands

Ad