pub fn extract_certificate(key_data: &[u8]) -> Result<Vec<u8>, Error>
Extracts certificate (public key) from an OpenPGP TSK.