pubkey_pem

Functions


decode(Bin::binary()) -> [pem_entry() (see module public_key)]

encode(PemEntries::[pem_entry() (see module public_key)]) -> iolist()

decipher(X1::{pki_asn1_type() (see module public_key), DerEncrypted::binary(), {Cipher::string(), Salt::iodata() | #'PBES2-params'{} | {#'PBEParameter'{}, atom()}}}, Password::string()) -> Der::binary()

cipher(Der::binary(), X2::{Cipher::string(), Salt::iodata() | #'PBES2-params'{} | {#'PBEParameter'{}, atom()}}, Password::string()) -> binary()