Capsule.KeySource, net.sergeych.tools.Bindablepublic class KeyRing extends java.lang.Object implements Capsule.KeySource, net.sergeych.tools.Bindable
| Constructor | Description |
|---|---|
KeyRing() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addKey(AbstractKey key) |
|
void |
addKeys(AbstractKey... newKeys) |
|
void |
clear() |
|
boolean |
contains(AbstractKey k) |
|
boolean |
equals(java.lang.Object obj) |
|
@NonNull java.util.Collection<AbstractKey> |
findKey(KeyInfo keyInfo) |
The smart keys search.
|
static KeyRing |
fromBinder(net.sergeych.tools.Binder source) |
|
boolean |
removeKey(AbstractKey key) |
|
net.sergeych.tools.Binder |
toBinder() |
|
java.lang.String |
toString() |
|
KeyRing |
updateFrom(net.sergeych.tools.Binder source) |
public net.sergeych.tools.Binder toBinder()
toBinder in interface net.sergeych.tools.Bindablepublic static KeyRing fromBinder(net.sergeych.tools.Binder source) throws java.io.IOException, EncryptionError
java.io.IOExceptionEncryptionErrorpublic KeyRing updateFrom(net.sergeych.tools.Binder source) throws java.io.IOException, EncryptionError
updateFrom in interface net.sergeych.tools.Bindablejava.io.IOExceptionEncryptionErrorpublic void clear()
public void addKey(AbstractKey key)
public boolean removeKey(AbstractKey key)
public @NonNull java.util.Collection<AbstractKey> findKey(KeyInfo keyInfo)
findKey in interface Capsule.KeySourcekeyInfo - desired key informationpublic void addKeys(AbstractKey... newKeys)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean contains(AbstractKey k)