Class Settings

java.lang.Object
aQute.lib.settings.Settings
All Implemented Interfaces:
Map<String,String>

public class Settings extends Object implements Map<String,String>
Maintains persistent settings for bnd (or other apps). The default is ~/.bnd/settings.json). The settings are normal string properties but it specially maintains a public/private key pair and it provides a method to sign a byte array with this pair.

Why not keystore and preferences? Well, keystore is hard to use (you can only store a private key when you have a certificate, but you cannot create a certificate without using com.sun classes) and preferences are not editable.