Module X509.Encoding.Pem.Public_key

module Public_key: sig .. end

Decoding and encoding of public keys in PEM format as defined in PKCS 8


PEM encoded RSA keys

val of_pem_cstruct : Cstruct.t -> X509.public_key list

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

val of_pem_cstruct1 : Cstruct.t -> X509.public_key

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

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

to_pem_cstruct public_keys is pem, the pem encoded public keys.

val to_pem_cstruct1 : X509.public_key -> Cstruct.t

to_pem_cstruct1 public_key is pem, the pem encoded public key.