Function gpgme::create_context [] [src]

pub fn create_context() -> Result<Context>

Creates a new context for cryptographic operations.

Examples

let mut ctx = gpgme::create_context().unwrap();