| Package | Description |
|---|---|
| net.java.truecommons.key.macosx.keychain |
Provides a simple abstraction over Apple's
Keychain Services API
for Java.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DuplicateItemException
Indicates that an item is already present in a keychain.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Keychain.createItem(Keychain.ItemClass id,
Map<Keychain.AttributeClass,ByteBuffer> attributes,
ByteBuffer secret)
Creates a new item in this keychain.
|
abstract void |
Keychain.delete()
Deletes and closes this keychain.
|
void |
Keychain.Item.delete()
Deletes this item.
|
ByteBuffer |
Keychain.Item.getAttribute(Keychain.AttributeClass id)
Returns the value of the attribute with the given class.
|
Map<Keychain.AttributeClass,ByteBuffer> |
Keychain.Item.getAttributeMap()
Returns all attributes of this item in a map.
|
Keychain.ItemClass |
Keychain.Item.getItemClass()
Returns the class of this item.
|
ByteBuffer |
Keychain.Item.getSecret()
Returns the secret data of this item.
|
static Keychain |
Keychain.open()
Opens the default keychain.
|
static Keychain |
Keychain.open(String path,
char[] password)
Opens the specified keychain, creating it first if necessary.
|
void |
Keychain.Item.putAttributeMap(Map<Keychain.AttributeClass,ByteBuffer> attributes)
Puts the given attributes into this item.
|
void |
Keychain.Item.setAttribute(Keychain.AttributeClass id,
ByteBuffer value)
Sets the value of the attribute with the given class.
|
void |
Keychain.Item.setSecret(ByteBuffer secret)
Sets the secret data of this item.
|
void |
Keychain.Visitor.visit(Keychain.Item item) |
abstract void |
Keychain.visitItems(Keychain.ItemClass id,
Map<Keychain.AttributeClass,ByteBuffer> attributes,
Keychain.Visitor visitor)
Visits items in this keychain.
|
Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.