use of com.adaptris.util.SafeGuidGenerator in project interlok by adaptris.
the class Config method newKeystore.
public KeystoreLocation newKeystore(String cn) throws Exception {
String uniqueName = new SafeGuidGenerator().safeUUID();
String keystoreUrl = String.format("file:///%s/%s?keystoreType=jks", config.getProperty(CFG_ROOT), uniqueName);
return buildKeystore(keystoreUrl, cn, false);
}
Aggregations