use of org.platformlayer.ops.uses.LinkTarget in project platformlayer by platformlayer.
the class StandardTemplateData method getAdditionalKeys.
public void getAdditionalKeys(Map<String, ManagedSecretKey> keys) throws OpsException {
for (Link link : getLinks()) {
ItemBase item = platformLayer.getItem(link.getTarget());
LinkTarget linkTarget = providers.toInterface(item, LinkTarget.class);
PlatformLayerKey caPath = linkTarget.getCaForClientKey();
if (caPath != null) {
String alias = links.buildKeyName(link);
keys.put(alias, findCaSignedKey(caPath, alias));
}
}
}
Aggregations