Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::SecureStringOptions Struct Reference

Requested mandatory guarantees, established even for an empty value. More...

#include <secure_string.hpp>

Public Attributes

std::size_t maxBytes {DEFAULT_MAX_SECRET_BYTES}
 Maximum application bytes, from zero through MAX_SECRET_BYTES.
SecureStringStorage storage {SecureStringStorage::NATIVE_GUARDED}
 Mandatory allocation policy; no implicit platform fallback.
bool lockPages {}
 Require native resident page locking for payload and any key page before copying input.
bool excludeFromDumps {}
 Require Linux core-dump exclusion for payload and any key page; unsupported on Windows/WASM.
bool encryptWhileIdle {true}
 Require native idle encryption; true by default, unsupported with WIPE_ONLY or on WASM.

Detailed Description

Requested mandatory guarantees, established even for an empty value.


The documentation for this struct was generated from the following file: