Crate twizzler_security

Source

Structs§

Cap
A capability that represents authorization for a Security Context to access an object.
CapFlags
CtxMapItem
Del
Gates
Mask
PermsInfo
Information about protections for a given object within a context.
Revoc
Specifies when a Capability is invalid. Currenty is a time in ns from unix epoch but plan to change later.
SecCtx
SecCtxBase
The base of a Security Context, holding a map to the capabilities and delegations stored inside, masks on targets
SecCtxFlags
Signature
SigningKey
The Objects signing key stored internally in the kernel used during the signing of capabilities.
VerifyingKey

Enums§

CtxMapItemType
DelInner
GatesError
HashingAlgo
InsertType
SigningScheme

Constants§

MAP_ITEMS_PER_OBJ
arbitrary number of map items per target object
MASKS_MAX
completely arbitrary amount of mask entries in a security context
OBJECT_ROOT_OFFSET
SEC_CTX_MAP_LEN
completely arbitrary amount of capabilites and delegations in a security context