@Override public void modify(Certificate cert, Modification request) { if(!(cert instanceof OSGiCertificate)){ return; } Dictionary props = null; if(request.getProperties() != null){ props = new Hashtable<String,String>(request.getProperties()); } ((OSGiCertificate)cert).setProperties(props); }