alpm_sys

Type Alias alpm_pgpkey_t

Source
pub type alpm_pgpkey_t = _alpm_pgpkey_t;
Expand description

A PGP key

Aliased Type§

struct alpm_pgpkey_t {
    pub data: *mut c_void,
    pub fingerprint: *mut i8,
    pub uid: *mut i8,
    pub name: *mut i8,
    pub email: *mut i8,
    pub created: i64,
    pub expires: i64,
    pub length: u32,
    pub revoked: u32,
    pub pubkey_algo: i8,
}

Fields§

§data: *mut c_void

The actual key data

§fingerprint: *mut i8

The key’s fingerprint

§uid: *mut i8

UID of the key

§name: *mut i8

Name of the key’s owner

§email: *mut i8

Email of the key’s owner

§created: i64

When the key was created

§expires: i64

When the key expires

§length: u32

The length of the key

§revoked: u32

has the key been revoked

§pubkey_algo: i8

A character representing the encryption algorithm used by the public key

? = unknown R = RSA D = DSA E = EDDSA