1//! `ts-crypto` 2 3pub mod any; 4pub mod ecdsa; 5pub mod eddsa; 6pub mod rsa; 7 8/// Decode the inner DER from a PEM encoded document. 9pub fn decode_pem(pem: &[u8]) -> Option<Vec<u8>> { 10 Some(der::pem::decode_vec(pem).ok()?.1) 11}