Struct keyutils::KeyManager [] [src]

pub struct KeyManager { /* fields omitted */ }

A manager for a key to respond to instantiate a key request by the kernel.

Methods

impl KeyManager
[src]

Instantiate the key with the given payload.

Reject the key with the given error. Requests for the key will fail until timeout seconds have elapsed. This is to prevent a denial-of-service by requesting a non-existant key repeatedly. The requester must have write permission on the keyring.

TODO: Accept SpecialKeyring values here. They are special in that they refer to the requester's special keyring and not this one.

Reject the key with ENOKEY.