Documentation
¶
Index ¶
Constants ¶
View Source
const ( KEYCTL_PERM_VIEW = uint32(1 << 0) KEYCTL_PERM_READ = uint32(1 << 1) KEYCTL_PERM_WRITE = uint32(1 << 2) KEYCTL_PERM_SEARCH = uint32(1 << 3) KEYCTL_PERM_LINK = uint32(1 << 4) KEYCTL_PERM_SETATTR = uint32(1 << 5) KEYCTL_PERM_ALL = uint32((1 << 6) - 1) KEYCTL_PERM_OTHERS = 0 KEYCTL_PERM_GROUP = 8 KEYCTL_PERM_USER = 16 KEYCTL_PERM_PROCESS = 24 )
View Source
const Backend = keyring.KeyCtlBackend
View Source
const KeyCtlBackend = keyring.KeyCtlBackend
Variables ¶
View Source
var ( ErrKeyNotFound = keyring.ErrKeyNotFound ErrMetadataNotSupported = keyring.ErrMetadataNotSupported )
Functions ¶
func GetKeyringIDForScope ¶
GetKeyringIDForScope get the keyring ID for a given scope.
func GetPermissions ¶
GetPermissions constructs the permission mask from the elements.
Types ¶
Click to show internal directories.
Click to hide internal directories.