Platforms to show: All Mac Windows Linux Cross-Platform
KeychainMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Keychain | MBS MacClassic Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
- 3 properties
- property Handle as Integer
- property Lasterror as Integer
- property Settings as KeychainSettingsMBS
- 18 methods
- method AddGenericPassword(serviceName as string, accountName as string, password as memoryblock) as KeychainItemMBS
- method AddGenericPassword(serviceName as string, accountName as string, password as string) as KeychainItemMBS
- method AddInternetPassword(serverName as string, securityDomain as string, accountName as string, path as string, port as Integer, protocol as string, authenticationType as string, password as memoryblock) as KeychainItemMBS
- method AddInternetPassword(serverName as string, securityDomain as string, accountName as string, path as string, port as Integer, protocol as string, authenticationType as string, password as string) as KeychainItemMBS
- method AllItems(itemClass as string) as KeychainItemMBS()
- method Delete
- method FindGenericItem(serviceName as string, accountName as string) as KeychainItemMBS
- method FindGenericPassword(serviceName as string, accountName as string, byref password as memoryblock) as KeychainItemMBS
- method FindInternetItem(serverName as string, securityDomain as string, accountName as string, path as string, port as Integer, protocol as string, authenticationType as string) as KeychainItemMBS
- method FindInternetPassword(serverName as string, securityDomain as string, accountName as string, path as string, port as Integer, protocol as string, authenticationType as string, byref password as memoryblock) as KeychainItemMBS
- method IsUnlocked as boolean
- method Lock
- method Name as string
- method Path as string
- method SetDefault
- method Status as Integer
- method Unlock
- method Unlock(password as string)
- 3 constants
Status Constants
Constant | Value | Description |
---|---|---|
StatusReadable | 2 |
Indicates the keychain is readable. |
StatusUnlocked | 1 |
Indicates the keychain is unlocked. |
StatusWritable | 4 |
Indicates the keychain is writable. |
This class has no sub classes.
Some methods using this class:
- KeychainItemMBS.Keychain as KeychainMBS
- KeychainManagerMBS.AddGenericPassword(keychain as KeychainMBS, serviceName as string, accountName as string, password as memoryblock) as KeychainItemMBS
- KeychainManagerMBS.AddInternetPassword(keychain as KeychainMBS, serverName as string, securityDomain as string, accountName as string, path as string, port as Integer, protocol as string, authenticationType as string, password as memoryblock) as KeychainItemMBS
- KeychainManagerMBS.AddItemAsync(Keychain as KeychainMBS, attributesDictionary as dictionary, handler as AddItemAsyncCompletedMBS, tag as Variant = nil)
- KeychainManagerMBS.Default as KeychainMBS
- KeychainManagerMBS.DomainDefault(domain as Integer) as KeychainMBS
- KeychainManagerMBS.FindGenericPassword(keychain as KeychainMBS, serviceName as string, accountName as string, byref password as memoryblock) as KeychainItemMBS
- KeychainManagerMBS.Open(file as folderitem) as KeychainMBS
- KeychainManagerMBS.SearchList as KeychainMBS()
- KeychainManagerMBS.SetSearchList(list() as KeychainMBS)
Some examples using this class:
- /MacClassic/Keychain/Keychain Content
- /MacClassic/Keychain/Keychain Pass Test
- /MacClassic/Keychain/Keychain Test
Blog Entries
The items on this page are in the following plugins: MBS MacClassic Plugin.
KeychainItemMBS - KeychainSearchMBS