package x509

  1. Overview
  2. Docs

Decoding and encoding of unencrypted private RSA keys in PEM format as defined in PKCS 8

PEM encoded RSA keys

val of_pem_cstruct : Cstruct.t -> private_key list

of_pem_cstruct pem is t list, where all private keys of pem are extracted

val of_pem_cstruct1 : Cstruct.t -> private_key

of_pem_cstruct1 pem is t, where the private key of pem is extracted

val to_pem_cstruct : private_key list -> Cstruct.t

to_pem_cstruct private_keys is pem, the pem encoded private keys.

val to_pem_cstruct1 : private_key -> Cstruct.t

to_pem_cstruct1 private_key is pem, the pem encoded private key.


Innovation. Community. Security.