public class Settings extends Object implements Map<String,String>
| Modifier and Type | Class and Description |
|---|---|
static class |
Settings.Data |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,String>> |
entrySet() |
void |
generate() |
String |
get(Object key) |
String |
getEmail() |
String |
getName() |
byte[] |
getPrivateKey()
Return an encoded private RSA key.
|
byte[] |
getPublicKey()
Return an encoded public RSA key.
|
boolean |
isDirty() |
boolean |
isEmpty() |
Set<String> |
keySet() |
boolean |
load() |
String |
put(String key,
String value) |
void |
putAll(Map<? extends String,? extends String> v) |
String |
remove(Object key) |
void |
save() |
void |
setEmail(String email) |
void |
setName(String v) |
byte[] |
sign(byte[] con)
Sign a byte array
|
int |
size() |
Collection<String> |
values() |
boolean |
verify(byte[] con)
Verify a signed byte array
|
public Settings()
public Settings(String where)
public boolean load()
public void save()
public String getEmail()
public void setEmail(String email)
public void setName(String v)
public String getName()
public byte[] getPublicKey()
throws Exception
Exceptionpublic byte[] getPrivateKey()
throws Exception
Exceptionpublic boolean verify(byte[] con)
throws Exception
Exceptionpublic boolean containsKey(Object key)
containsKey in interface Map<String,String>public boolean containsValue(Object value)
containsValue in interface Map<String,String>public boolean isDirty()
Copyright © 2014 aQute SARL. All rights reserved.