Module X509.Encoding.Pem.Private_key

module Private_key: sig .. end

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 -> X509.private_key list

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

val of_pem_cstruct1 : Cstruct.t -> X509.private_key

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

val to_pem_cstruct : X509.private_key list -> Cstruct.t

to_pem_cstruct private_keys is pem, the pem encoded private keys.

val to_pem_cstruct1 : X509.private_key -> Cstruct.t

to_pem_cstruct1 private_key is pem, the pem encoded private key.