import org.eclipse.swt.widgets.Text;
import org.tizen.common.sign.preferences.Messages;
import org.tizen.common.sign.preferences.SigningProfileItem;
+import org.tizen.common.sign.util.SigningProfileUtil;
import org.tizen.common.util.Assert;
import org.tizen.common.util.StringUtil;
createTextWithBrowse( composite, ItemDataKey.keyPath, filterExt_p12, true );
createPasswordText( composite, ItemDataKey.password );
- createTextWithBrowse( composite, ItemDataKey.caPath, filterExt_cer, true );
- createTextWithBrowse( composite, ItemDataKey.rootCaPath, filterExt_cer, this.bEnableCA );
+ if ( ! SigningProfileUtil.isAvailableNewCertPolicy() ) {
+ createTextWithBrowse( composite, ItemDataKey.caPath, filterExt_cer, true );
+ createTextWithBrowse( composite, ItemDataKey.rootCaPath, filterExt_cer, this.bEnableCA );
+ } else {
+ // Apply new cert policy. CAs is not used.
+ createTextWithBrowse( composite, ItemDataKey.caPath, filterExt_cer, false );
+ createTextWithBrowse( composite, ItemDataKey.rootCaPath, filterExt_cer, false );
+ }
return composite;
}