Expand description
Contains definitions for low-level libkeyutils bindings.
See the following manpages for information about the symbols exported by this crate:
add_key(2)
request_key(2)
keyctk(2)
For more information about the keyctl
API in general, the following manpages are useful:
keyctl(3)
keyctl(7)
Structs§
Enums§
- Default
Keyring - An enumeration for the keyrings which may be set as the default.
- Restriction
Constants§
- KEYCTL_
SUPPORTS_ DECRYPT - KEYCTL_
SUPPORTS_ ENCRYPT - KEYCTL_
SUPPORTS_ SIGN - KEYCTL_
SUPPORTS_ VERIFY - KEY_
GRP_ ALL - KEY_
GRP_ LINK - KEY_
GRP_ READ - KEY_
GRP_ SEARCH - KEY_
GRP_ SETATTR - KEY_
GRP_ VIEW - KEY_
GRP_ WRITE - KEY_
OTH_ ALL - KEY_
OTH_ LINK - KEY_
OTH_ READ - KEY_
OTH_ SEARCH - KEY_
OTH_ SETATTR - KEY_
OTH_ VIEW - KEY_
OTH_ WRITE - KEY_
POS_ ALL - KEY_
POS_ LINK - KEY_
POS_ READ - KEY_
POS_ SEARCH - KEY_
POS_ SETATTR - KEY_
POS_ VIEW - KEY_
POS_ WRITE - KEY_
SPEC_ GROUP_ KEYRING - KEY_
SPEC_ PROCESS_ KEYRING - KEY_
SPEC_ REQKEY_ AUTH_ KEY - KEY_
SPEC_ SESSION_ KEYRING - KEY_
SPEC_ THREAD_ KEYRING - KEY_
SPEC_ USER_ KEYRING - KEY_
SPEC_ USER_ SESSION_ KEYRING - KEY_
TYPE_ BIG_ KEY - KEY_
TYPE_ KEYRING - KEY_
TYPE_ LOGON - KEY_
TYPE_ USER - KEY_
USR_ ALL - KEY_
USR_ LINK - KEY_
USR_ READ - KEY_
USR_ SEARCH - KEY_
USR_ SETATTR - KEY_
USR_ VIEW - KEY_
USR_ WRITE
Functions§
- add_key
- keyctl_
assume_ authority - keyctl_
chown - keyctl_
clear - keyctl_
describe - keyctl_
dh_ compute - keyctl_
dh_ compute_ kdf - keyctl_
get_ keyring_ id - keyctl_
get_ persistent - keyctl_
get_ security - keyctl_
instantiate - keyctl_
invalidate - keyctl_
join_ session_ keyring - keyctl_
link - keyctl_
negate - keyctl_
pkey_ decrypt - keyctl_
pkey_ encrypt - keyctl_
pkey_ query - keyctl_
pkey_ sign - keyctl_
pkey_ verify - keyctl_
read - keyctl_
reject - keyctl_
restrict_ keyring - keyctl_
revoke - keyctl_
search - keyctl_
session_ to_ parent - keyctl_
set_ reqkey_ keyring - keyctl_
set_ timeout - keyctl_
setperm - keyctl_
unlink - keyctl_
update - request_
key
Type Aliases§
- KeyPermissions
- Alias for the key_perm_t kernel type, representing a keyring’s (or key’s) permission bits.
- Keyring
Serial - Alias for the key_serial_t kernel type, representing a keyring (or key).
- Timeout
Seconds