public ManagedSecretKey findPublicSslKey() throws OpsException {
PlatformLayerKey sslKey = getSslKeyPath();
if (sslKey == null) {
if (getCaPath() != null) {
ManagedSecretKey key = findCaSignedKey("public");
if (key != null) {
return key;
}
}
return null;
}
ItemBase sslKeyItem = (ItemBase) platformLayer.getItem(sslKey);
ManagedSecretKey key = providers.toInterface(sslKeyItem, ManagedSecretKey.class);
return key;
}