Modify theSecurityManager based on the KeyStoreJCA and static function from encrytion classes