Struct ashpd::desktop::secret::SecretProxy [−][src]
pub struct SecretProxy<'a>(_);
Expand description
The interface lets sandboxed applications retrieve a per-application secret. The secret can then be used for encrypting confidential data inside the sandbox.
Implementations
Create a new instance of SecretProxy
.
Retrieves a master secret for a sandboxed application.
Arguments
fd
- Writable file descriptor for transporting the secret.token
- A string returned by a previous call toSecretProxy::retrieve_secret
.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SecretProxy<'a>
impl<'a> Send for SecretProxy<'a>
impl<'a> Sync for SecretProxy<'a>
impl<'a> Unpin for SecretProxy<'a>
impl<'a> !UnwindSafe for SecretProxy<'a>