Function sequoia_ffi::openpgp::cert::pgp_cert_parser_from_bytes[][src]

#[no_mangle]
pub extern "C" fn pgp_cert_parser_from_bytes(
    errp: Option<&mut *mut Error>,
    buf: *const u8,
    len: size_t
) -> *mut CertParserWrapper<'static>
Expand description

Returns a CertParser.

C Declaration

pgp_cert_parser_wrapper_t
pgp_cert_parser_from_bytes (pgp_error_t *errp,
                            const uint8_t *buf,
                            size_t len);

A CertParser parses a keyring, which is simply zero or more Certs concatenated together.