Function pgp::read_sig_from_bytes

source ·
pub async fn read_sig_from_bytes(bytes: Vec<u8>) -> Result<StandaloneSignature>
Expand description

Reads a standalone signature from the given raw bytes.

The given raw bytes needs to match a single armored signature, otherwise it fails.